Get user access token

Is it possible to get user access token by email address or sub Id?

Thanks a lot.

Hi there @fjingsheng !

Are you able to elaborate a bit on the use case here? Both an email address and sub exist as claims in an access token, and you can certainly use an email as part of a login flow to obtain an access token.

In this flow we don’t need user involved to provide the password or verification code. We only have the emailEmail and sub Id, are we able to get the access token for the given user via management api?

1 Like

Hey there @fjingsheng sorry for the delayed response here. You won’t be able to get an access token for a user with just their email and sub - If the user is already authenticated and has an existing session, you could look into using silent auth as a means to get an access token.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.