Open
Description
I think user authentication would be more ergonomic if authentication methods returned the authenticated account.
For example, when I authenticate a user via acquire_token_by_authorization_code
I get tokens and some response content from AAD but not the object I need to authenticate the same user via acquire_token_silent
. For that I must call get_accounts
and choose an account from the list it gives me. To be certain I'm choosing the right account I need its unique identifier. I can construct that from the response content acquire_token_by_authorization_code
gave me, but only because I know the relevant implementation details.
Metadata
Metadata
Assignees
Type
Projects
Status
Commited