Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

No id_token returning in response #24

Closed
justinkchen opened this issue Feb 10, 2019 · 2 comments
Closed

No id_token returning in response #24

justinkchen opened this issue Feb 10, 2019 · 2 comments

Comments

@justinkchen
Copy link

There is no id_token in the response when using this example. How do we fix this?

@aymericbouzy
Copy link

I've managed to get one using #16

@on-delete
Copy link

Hey @justinkchen, the problem within this example is, that you have to set the response_type: 'id_token' and additionally nonce: 'example', to get the jwt within the response. This config is working for me:

authUrl: '${auth0Domain}/authorize' + toQueryString({ client_id: auth0ClientId, response_type: 'id_token', scope: 'openid name', redirect_uri: redirectUrl, nonce: 'example', }),

I also thought about doing a PR to fix this, but don't know if this repo is still actively maintained.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants