You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the documentation says that you add the URL with the slug without a trailing slash explicitly, but it is actually the opposite in my experience. Authentik will not work without the trailing slash. You will receive this error:
OperationProcessingError: "response" body "issuer" does not match "expectedIssuer"
until you add that trailing slash. This is directly from my console.log I used for testing:
Configured issuer: https://auth.gibbyb.com/application/o/techtracker
Authentik returned issuer: https://auth.gibbyb.com/application/o/techtracker/
Once I added the trailing slash, Authentik worked perfectly.
How to reproduce
Add authentik provider, add environment variables including slug without the trailing slash, then try to sign in with authentik.
Expected behavior
The documentation should not explicitly state that the trailing slash should be removed, and perhaps should even say the opposite, depending on the experience others have had, but at least in my case, with Next.js App Router, the trailing slash was required. In my authentik web admin panel, it also lists the issuer with a trailing slash.
The text was updated successfully, but these errors were encountered:
Finally, I have just set up a project with AuthJS and Authentik and I was confused because of this same behavior. How come this only have been pointed out 2 weeks ago?
Provider type
Authentik
Environment
Reproduction URL
https://github.com/gibbyb/Tech_Tracker_Web
Describe the issue
Currently the documentation says that you add the URL with the slug without a trailing slash explicitly, but it is actually the opposite in my experience. Authentik will not work without the trailing slash. You will receive this error:
OperationProcessingError: "response" body "issuer" does not match "expectedIssuer"
until you add that trailing slash. This is directly from my console.log I used for testing:
Once I added the trailing slash, Authentik worked perfectly.
How to reproduce
Add authentik provider, add environment variables including slug without the trailing slash, then try to sign in with authentik.
Expected behavior
The documentation should not explicitly state that the trailing slash should be removed, and perhaps should even say the opposite, depending on the experience others have had, but at least in my case, with Next.js App Router, the trailing slash was required. In my authentik web admin panel, it also lists the issuer with a trailing slash.
The text was updated successfully, but these errors were encountered: