PackagePackagetypeA library you install and call yourself.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

decodesapsso2

A TypeScript library that decodes a MYSAPSSO2 logon ticket into its user, client, system and validity fields, and returns the signature without validating it, so it never shows a ticket is genuine.

A MYSAPSSO2 cookie taken from a browser session is base64 and unreadable as it stands. decodeSAPSSO2 returns the ticket's version, id, username, client, system, issue time and validity hours; tryDecodeSAPSSO2 returns an error instead of throwing, and startTime and expirationTime turn the last two fields into dates. The signature comes back as a base64 string the package states it does not validate, so decoding a ticket says who it was issued for and when it runs out, never that it is genuine. It is a library installed from npm, with no command line or interface of its own.

Facts

Latestv1.0.0ReleasedLast pushLicenceMIT

Where it sits

Lives in
Provides
AuthenticationABAPAuthenticationcapabilityEstablishing who is calling: validating credentials or tokens, resolving the user, and making that identity available to the application. [Authorization](capability:authorization) decides what that identity may do; [identity provisioning](capability:identity-provisioning) manages its lifecycle across systems.

Who is behind it

Marcello UrbaniMarcello UrbaniPersonMaintains this
In the atlas: maintains 14, contributes to 21
@marcellourbani
maintainer

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
does not say
Distributed through
does not say

Connections1

Install

npm add decodesapsso2

Derived from the package name. No recipe recorded; the README has the configuration.

README

quoted from marcellourbani/decodesapsso2 under MIT, read
marcellourbani/decodesapsso2/README.mdOn GitHub

SAPSSO2 decoder

This decodes MYSAPSSO2 tickets, does not validate them or attempt

The decoded ticket will look like:

{
  "version": 2,
  "id": "4103",
  "fields": {
    "username": "DEVELOPER   ",
    "client": "001",
    "system": "A4H     ",
    "issueTime": "202502251038",
    "validityhours": 8,
    "Signature": "MIH4BgkqhkiG9w..."
  }
}

The signature is not validated, just exposed as a base64 encoded string

Example usage

import { Validation } from "io-ts"
import { decodeSAPSSO2, tryDecodeSAPSSO2, SAPSSO2Ticket, startTime, expirationTime } from "decodesapsso2"

const rawticket = "" // a base64 ticket, usually found as MYSAPSSO2 cookie in a browser session

// Either an error or a decoded ticker
const ticketValidation: Validation<SAPSSO2Ticket> = tryDecodeSAPSSO2(rawticket)

// a ticket, throws on error
const ticket: SAPSSO2Ticket = decodeSAPSSO2(rawticket)

const ticketStartTime: Date = startTime(ticket)

const ticketExpiration: Date = expirationTime(ticket)

License

This is released under the MIT license

MIT, read

History

Latest

v1.0.0

3downloads per week, npm
Weekly downloads for decodesapsso226 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 3.20 Apr – 26 Apr: 127 Apr – 3 May: 24 May – 10 May: 311 May – 17 May: 318 May – 24 May: 225 May – 31 May: 21 Jun – 7 Jun: 38 Jun – 14 Jun: 315 Jun – 21 Jun: 122 Jun – 28 Jun: 129 Jun – 5 Jul: 26 Jul – 12 Jul: 413 Jul – 19 Jul: 220 Jul – 26 Jul: 227 Jul – 2 Aug: 03 Aug – 9 Aug: 210 Aug – 16 Aug: 317 Aug – 23 Aug: 124 Aug – 30 Aug: 331 Aug – 6 Sept: 67 Sept – 13 Sept: 414 Sept – 20 Sept: 421 Sept – 27 Sept: 228 Sept – 4 Oct: 25 Oct – 11 Oct: 012 Oct – 18 Oct: 3
Authentication
  1. abap_jwt_generatorGenerates signed JSON Web Tokens in ABAP
  2. abap-pwnedpasswordsChecks passwords against Have I Been Pwned from ABAP
  3. abapOAuthAzureOA2C_SPECIFICS implementation for Microsoft Azure OAuth 2.0 in ABAP
  4. abap2oauth2ABAP API for OAuth 2.0 authentication
  5. abapNTLMHTTP NTLM client for ABAP
  6. abap_cloud_platformTypeScript library reaching ABAP service instances on Cloud Foundry
  7. Cloud ConnectorSAP's on-premises agent linking SAP BTP to customer-network systems
  8. abap-aws-sigv4Signs outbound HTTP calls to AWS APIs with AWS Signature Version 4, directly from ABAP.

Details

Sources4
GitHub organisations and accountsdiscovered here, marcellourbanichecked
npm registry, decodesapsso2version, releases, installschecked
github.com/marcellourbani/decodesapsso2tree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
latestv1.0.0
first release
releases and cadence1
discovered viaGitHub organisations and accounts · marcellourbani
first seen in the atlas
ecosystem and domainabap, security-and-compliance
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:marcellourbani-decodesapsso2
JSON
/artifacts/marcellourbani-decodesapsso2.json
MCP
Connecting an agent