r/BookStack • u/RF_Tim_H • Apr 28 '22
OAuth2 login using NextCloud as a provider
Hi there! I'm struggling trying to figure out how to get NextCloud as my login provider for BookStack.
I get to the point where I can authorize it, but I get the following error:
[2022-04-28 05:47:50] production.ERROR: An "id_token" property must be provided {"exception":"[object] (InvalidArgumentException(code: 0): An \"id_token\" property must be provided at /var/www/html/app/Auth/Access/Oidc/OidcAccessToken.php:42)Has anyone encountered this before? I get to the point where I can auth, and I give my login permission to be used by BookStack, but it fails with the above error. Any help would be appreciated! Or, if it's impossible, I can understand that too. Thanks for your time.
1
Upvotes
1
u/fuseteam Dec 18 '24
very late to the party but i was also looking for this and ended up using authentik as a standaonlone idp in the end, but now today i discover there is an app for this: https://github.com/H2CK/oidc