Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose ID token in IAuthenticationResult #2039

Open
ShmuelCammebys opened this issue Feb 14, 2024 · 0 comments
Open

Expose ID token in IAuthenticationResult #2039

ShmuelCammebys opened this issue Feb 14, 2024 · 0 comments
Labels
Incoming Issue Untriaged New issues

Comments

@ShmuelCammebys
Copy link

ShmuelCammebys commented Feb 14, 2024

Is your feature request related to a problem? Please describe.
I was unable to find where the ID token is exposed, because in the MSAL iOS SDK, the ID token is exposed as a property in the auth result returned in the callback (code here and here).IAuthenticationResult only exposes an access token (in getAccessToken()), and the ID token can only be accessed through the account (i.e. getAccount().getIdToken()).

Describe the solution you'd like
Having a getter in AuthenticationResult which returned getAccount().getIdToken() would make this more discoverable, because it would have API parity with the iOS SDK.

Describe alternatives you've considered

Additional context

@negoe negoe added the Incoming Issue Untriaged New issues label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Incoming Issue Untriaged New issues
Projects
None yet
Development

No branches or pull requests

2 participants