Auth0 Home Blog Docs

Can WebAuthProvider.withResponseType return token and id token?

Hi There,

In Web, it’s possible to ask two response types.

  auth0 = new auth0.WebAuth({
    responseType: 'token id_token',
    ......
  });

But in Android withResponseType only takes one type, is it posssible to get token and id_token at the same time?

Thanks

Hey there @wahaha!

Let me research that option for you and get back here soon with the info!

Hey there!

Terribly sorry for such huge delay but December was super busy!

Unfortunately it’s not possible. The thing is that access token is intended to carry information about the user. It simply allow access to certain defined server resources, while id token contains info about the end user.

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