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

Bug Fix: 'openid' added to scope even if already present #99

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mstrhakr
Copy link

@mstrhakr mstrhakr commented Sep 5, 2022

This plugin adds the 'openid' scope to the request, even if that scope is already included, this can cause problems with some IdPs. (closes #98)

This pull fixes the problem by adding a check while building the params to see if 'openid' is already present in the scope, adding it if necessary.

This is tested and working with a combination of Meshcentral and Authelia

add check to see if scope contains 'openid' before adding it to params
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.

Bug: 'openid' added to scope even if already present
1 participant