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 support for bearer token validation by the OIDC Identity Provider app via en event #1040

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

julien-nc
Copy link
Member

@julien-nc julien-nc commented Feb 5, 2025

Add optional extra bearer token validation using the OIDC Identity Provider app
See event definition: H2CK/oidc#515
This PR depends on H2CK/oidc#521

If this validation is enabled in user_oidc, it happens before the classic selfencoded and userinfo validations.

This allows clients and external services to use an Oidc access token they would have obtained by using Nextcloud as an IdP (via the OIDC Identity Provider app) as a bearer token to make API requests to Nextcloud.

@julien-nc julien-nc added enhancement New feature or request 3. to review labels Feb 5, 2025
@julien-nc julien-nc force-pushed the enh/noid/support-nc-oidc-provider-app-bearer-validation branch from c251fad to 7ded7d6 Compare February 5, 2025 11:39
@julien-nc julien-nc force-pushed the enh/noid/support-nc-oidc-provider-app-bearer-validation branch 3 times, most recently from 24a5ac3 to 009fdf8 Compare February 13, 2025 13:38
Signed-off-by: Julien Veyssier <[email protected]>
…configured in user_oidc

Signed-off-by: Julien Veyssier <[email protected]>
@julien-nc julien-nc force-pushed the enh/noid/support-nc-oidc-provider-app-bearer-validation branch from 009fdf8 to 70d1d29 Compare February 17, 2025 11:38
@julien-nc julien-nc force-pushed the enh/noid/support-nc-oidc-provider-app-bearer-validation branch from 70d1d29 to 3f66d3c Compare February 17, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant