mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🚀 Feature: OIDC with Nextcloud #466
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Originally created by @breitero on GitHub.
Feature description
Tutorial for OIDC with Nextcloud
Pitch
I wrote stonith404 for help with OIDC-Login in Nextcloud.
Here is what I got so you can also use this as tutorial.
Nextcloud: Install the app https://apps.nextcloud.com/apps/oidc_login and edit the config.php where you add the following lines:
Pocket-ID:
The Callback-URL which you use in Pocket-ID is: https://nextcloud/apps/oidc_login/oidc
@EweSparky commented on GitHub:
@tarunkumar519 I used user_oidc and configured it as such:
Pocket ID:
PKCE; apparentlyuser_oidcsupports it but I keep getting an error with itusernameand their Nextcloud usernameNextcloud:
Edit your
config.phpfile:@tarunkumar519 commented on GitHub:
Hi, using the above flow, pocket-id keeps creating new users but does not link to old users with same username or Email. If i use 'oidc_login_disable_registration' => true, it won't create a new user but fails auth entirely. I already have users in nextcloud with their own usernames and Email, how do i link to these with same pocket-id emails? (linking to pocket-id usernames is also fine)
@stonith404 commented on GitHub:
Thanks for sharing :)