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

🔧 add OIDC scope option #1641

Merged
merged 3 commits into from
Aug 17, 2024
Merged

🔧 add OIDC scope option #1641

merged 3 commits into from
Aug 17, 2024

Conversation

nOw-Ay
Copy link
Contributor

@nOw-Ay nOw-Ay commented Jul 16, 2024

nOw-Ay Medium nOw-Ay /master → Lissy93/dashy Commits: 1 | Files Changed: 4 | Additions: 8 Label Powered by Pull Request Badge

Category:
New configuration option

Overview
Add an option to customise the requested OIDC scopes.

As of today, Dashy always ask for a lot of scopes (openid profile email roles groups) that the user might not be willing to configure. This PR gives more flexibility to the user, allowing him to decide which scopes to request.

New Vars
New config option : scope, string : The scope(s) to request from the OIDC provider

By default,oidc-client-ts defaults the scope to openid, there is thus no breaking change.

Code Quality Checklist (Please complete)

  • All changes are backwards compatible
  • All lint checks and tests are passing
  • There are no (new) build warnings or errors
  • (If a new config option is added) Attribute is outlined in the schema and documented

@nOw-Ay nOw-Ay requested a review from Lissy93 as a code owner July 16, 2024 12:03
Copy link

netlify bot commented Jul 16, 2024

Deploy Preview for dashy-dev ready!

Name Link
🔨 Latest commit 439c73c
🔍 Latest deploy log https://app.netlify.com/sites/dashy-dev/deploys/66c0b43bc532a900088d66bd
😎 Deploy Preview https://deploy-preview-1641--dashy-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@liss-bot liss-bot added the 🚫 Merge Conflicts [PR] Submitted code needs rebasing label Aug 17, 2024
@liss-bot liss-bot removed the 🚫 Merge Conflicts [PR] Submitted code needs rebasing label Aug 17, 2024
@Lissy93 Lissy93 merged commit 80e8dc9 into Lissy93:master Aug 17, 2024
6 of 7 checks passed
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.

3 participants