truqu / elm-oauth2

OAuth 2.0 client-side utils in Elm
MIT License
81 stars 29 forks source link

Add support for ID Token in token response for Authorization Code Flow with PKCE #31

Closed charles-dexter-ward closed 1 year ago

charles-dexter-ward commented 2 years ago

According to

https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow-with-proof-key-for-code-exchange-pkce

the token response data must (could?) contain an ID Token (id_token).

It seems to me that this is not actually supported in AuthenticationSuccess:

type alias AuthenticationSuccess =
    { token : Token
    , refreshToken : Maybe Token
    , expiresIn : Maybe Int
    , scope : List String
    }
0-gravity commented 1 year ago

This issue is open for almost a year. Is there any progress?

KtorZ commented 1 year ago