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: scope parameter from medusa-config.js not passed through to passport #168

Closed
wants to merge 4 commits into from

Conversation

F-Wilke
Copy link
Contributor

@F-Wilke F-Wilke commented Jun 7, 2024

I had to extend the scope of the token request to Microsoft Entra in order to receive the claims that I needed.

For that, setting the scope parameter in the passportAuthenticateMiddlewareOptions was not enough, since passport (at least for version 0.6.0) determines the scope from the argument "options" passed to the constructor of the strategy.

I hope you are fine with me bumping the version and writing to the changelog. I'm sorry if you're not. It's my first pull request.

Copy link

vercel bot commented Jun 7, 2024

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

Name Status Preview Comments Updated (UTC)
medusa-plugins ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 11:14pm

Copy link
Owner

@adrien2p adrien2p left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution, could you please remove the change log changes and the package.json changes please 🙏 it will be handled automatically based on the commit message

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

Successfully merging this pull request may close these issues.

2 participants