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

Usage with Auth0 with ID Token #72

Open
mschewe opened this issue Jun 15, 2022 · 1 comment
Open

Usage with Auth0 with ID Token #72

mschewe opened this issue Jun 15, 2022 · 1 comment

Comments

@mschewe
Copy link

mschewe commented Jun 15, 2022

Hello,

I want to know if it is possible to use this library to verify an ID Token originating from Auth0.
I only need the identity of the caller, the authorization is done inside the application.

The readme says I need to pass in a secret. However, I don't know what secret is meant. I have tried it with the "Client Secret". It will error with "token is unauthorized".

tokenAuth = jwtauth.New("HS256", []byte("my client secret"), nil)

Thank you very much for this package and for any help!

@mschewe
Copy link
Author

mschewe commented Jun 17, 2022

For now, I have created my own middleware. I am using the JSON Web Key Set (JWKS). Please let me know if this is possible with jwtauth too?

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

No branches or pull requests

1 participant