Skip to content

Reliable way to extract IdP from ID Token #2339

Answered by nabokihms
SimonTheLeg asked this question in Q&A
Discussion options

You must be logged in to vote

The sub claim is encoded with the base64url encoding. There are various tools to decode it. For example, in Golang there is a special base64 decoder for it - https://pkg.go.dev/encoding/base64#RawURLEncoding

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SimonTheLeg
Comment options

Answer selected by nabokihms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants