fix(auth): support Authentik authorization URL override#12300
Merged
Steffen911 merged 6 commits intolangfuse:mainfrom Mar 2, 2026
Merged
fix(auth): support Authentik authorization URL override#12300Steffen911 merged 6 commits intolangfuse:mainfrom
Steffen911 merged 6 commits intolangfuse:mainfrom
Conversation
Steffen911
reviewed
Feb 27, 2026
Member
Steffen911
left a comment
There was a problem hiding this comment.
Thank you a lot for creating this! 🙌
Steffen911
added a commit
to langfuse/langfuse-docs
that referenced
this pull request
Feb 27, 2026
Document the new `AUTH_AUTHENTIK_AUTHORIZATION_URL` env var for split-DNS/reverse proxy setups and update the issuer format note to reflect the now-optional trailing slash. Ref: langfuse/langfuse#12300 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 task
Member
|
Corresponding docs PR once this is merged: langfuse/langfuse-docs#2577 |
Member
|
Could you also address the linting reports? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #11884
Summary
AUTH_AUTHENTIK_AUTHORIZATION_URLenv var to allow browser redirects to use an external Authentik URL.AUTH_AUTHENTIK_ISSUERvalidation to allow an optional trailing slash.Test plan
AUTH_AUTHENTIK_ISSUERto an internal host andAUTH_AUTHENTIK_AUTHORIZATION_URLto a browser-reachable host.Made with Cursor
Important
Add support for overriding Authentik authorization URL via new env var, while maintaining server-side validation and relaxing issuer validation.
AUTH_AUTHENTIK_AUTHORIZATION_URLenv var inenv.mjsto override Authentik authorization URL for browser redirects.auth.ts.AUTH_AUTHENTIK_ISSUERvalidation to allow optional trailing slash inenv.mjs.auth.tsto handle newAUTH_AUTHENTIK_AUTHORIZATION_URLby setting custom authorization, token, userinfo, and JWKS URLs when override is enabled.AUTH_AUTHENTIK_ISSUERinenv.mjsto allow optional trailing slash.This description was created by
for e27d963. You can customize this summary. It will automatically update as commits are pushed.