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

JWT authentication does not work with auth0 provider #3324

Closed
1 of 13 tasks
miguelaeh opened this issue May 5, 2024 · 2 comments
Closed
1 of 13 tasks

JWT authentication does not work with auth0 provider #3324

miguelaeh opened this issue May 5, 2024 · 2 comments

Comments

@miguelaeh
Copy link

miguelaeh commented May 5, 2024

Which version are you using?

v1.8.0

Which operating system are you using?

  • Linux amd64 standard
  • Linux amd64 Docker
  • Linux arm64 standard
  • Linux arm64 Docker
  • Linux arm7 standard
  • Linux arm7 Docker
  • Linux arm6 standard
  • Linux arm6 Docker
  • Windows amd64 standard
  • Windows amd64 Docker (WSL backend)
  • macOS amd64 standard
  • macOS amd64 Docker
  • Other (please describe)

Describe the issue

Description

Using the JWT authentication method does not seem to be able to authorize users when the token comes from auth0.

Describe how to replicate the issue

  1. start the server with authMethod: jwt and authJWTJWKS: https://your-auth0-domain/.well-known/jwks.json
  2. try to publish a stream using an accessToken from auth0
  3. see the 401 error

Did you attach the server logs?

There are no hints on the logs, even with debug enabled.

Did you attach a network dump?

no

@aler9
Copy link
Member

aler9 commented Jun 21, 2024

Hello, requirements on the JWT format are listed in the README. Further assessment on the issue are not possible since you didn't attach a sample JWT or server logs. If you still have problems, create a bug and attach the JWT and server logs.

@aler9 aler9 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2024
@miguelaeh
Copy link
Author

@aler9 As I mentioned in the original issue, no messages appear on the logs related to authentication, even using the debug mode.
With the steps I provided it is easily replicated. The requirements listed on the README are either wrong or something is missing for the auth0 provider.

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

2 participants