Skip to content
Discussion options

You must be logged in to vote

I’ve resolved the authentication error encountered during the Headscale and Auth0 integration.

Root Cause: The issue was a string mismatch in the issuer field. Auth0's standard issuer URI format includes a trailing slash (/), but my configuration was missing it. This caused the OIDC validation to fail because the issuer strings did not match exactly.

Solution:
Adding the trailing slash to the issuer URI fixed the issue.

Configuration Change:

# Before
oidc:
  issuer: "https://auth.example.app"

# After (Fixed)
oidc:
  issuer: "https://auth.example.app/"

Replies: 18 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lulezi
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@BobWs
Comment options

@kronenpj
Comment options

@BobWs
Comment options

@tale
Comment options

tale Dec 17, 2025
Maintainer

@BobWs
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gunu3371
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #344 on December 14, 2025 20:15.