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

Fix/backport bearer token fix #7067

Merged
merged 1 commit into from
May 16, 2024
Merged

Conversation

gastonfournier
Copy link
Contributor

About the changes

Backport of #7065 to 5.12 branch

## About the changes
We've identified that Bearer token middleware is not working for
/enterprise instance.

Looking at a few lines below:
https://github.com/Unleash/unleash/blob/88e3b1b79efc0954951a4ee270483c1fd2bf97dc/src/lib/app.ts#L81-L84
we can see that we were missing the basePath in the use definition.
Copy link

vercel bot commented May 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2024 9:58am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview May 16, 2024 9:58am

@gastonfournier gastonfournier changed the base branch from main to 5.12 May 16, 2024 09:52
Copy link
Contributor

@daveleek daveleek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gastonfournier gastonfournier merged commit aaa8202 into 5.12 May 16, 2024
11 checks passed
@gastonfournier gastonfournier deleted the fix/backport-bearer-token-fix branch May 16, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants