extend provider to include scope which defaults to openid email profile on redirect #2749
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#2749
Loading…
Reference in New Issue
No description provided.
Delete Branch "viehlieb/frontend:feature/enable_oidc_custom_scopes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Until now the scope for oidc providers has been hard coded to be openid profile email.
This change leaves core funtionality intact as the scope defaults to 'openid email profile' on redirect, if no scope is specified in vikunja/api/config.yml.
If scope is defined in vikunja/api/config.yml e.g. as:
... it will appear as scope=openid+email+profile+custom_scope
in the redirect Url.
Hi viehlieb!
Thank you for creating a PR!
I've deployed the changes of this PR on a preview environment under this URL: https://2749-feature-enableoidccustomscopes--vikunja-frontend-preview.netlify.app
You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.
Have a nice day!
But Vikunja only uses email and profile scopes? What do you need to specify a custom scope for?
extend provider toinclude scope which defaults to openid email profile on redirectto extend provider to include scope which defaults to openid email profile on redirectClosing this as it appears stale.
Please rebase and reopen if you think this is still relevant.