-
Notifications
You must be signed in to change notification settings - Fork 3
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
[FR] Support for Google OpenID. #166
Comments
the owncloud server acts as rely party in the scenario where the clients are connecting to the server. please note that google is not supported as idp at the moment. this requires deeper analysis to see how this can be accomplished |
Thanks for your reply, knowing that Google is not supported, I'll stop struggling and settle for standard user/password login. |
luckily i just found this here, i'm trying since two hours, will also stop it now. Suggestion: maybe it is worth mentioning somewhere in the readme that google oidc is not compatible right now, i think that many other are also just trying to get azure or google oidc to work so they could save there time? |
all in the docs: https://doc.owncloud.com/server/10.8/admin_manual/configuration/user/oidc/oidc.html#supported-identity-providers |
I am unable to set up Google auth via OpenID.
My configuration is:
And the error I am getting originates in line 122 in SessionVerifier.php
I believe the problem in my case is that Google accessToken is not a JWT and hence it cannot be decoded. It has no headers and verifyJWTsignature throws an error.
I saw it the documentation that if the access token is not a JWT token we could use:
However, Google doesn't have an introspection endpoint.
I could "bypass" the error by changing line 122 in SessionVerifier.php, using $idToken instead of $accessToken. However, that probably isn't the right thing to do?
And I still have a problem with Owncloud desktop app. I've followed the instructions in https://doc.owncloud.com/server/admin_manual/configuration/user/oidc/#owncloud-desktop-and-mobile-clients to no avail.
I can see that service discovery is correctly set up but when I try to add the owncloud account to Owncloud Desktop, the browser opens immediately and shows the error:
Authorization Error
Error 401: invalid_client
The OAuth client was not found.
I'm running owncloud in Docker (version 10.7) and Owncloud Desktop version 2.8.1 (build 4157) for Mac.
Any help would be greatly appreciated.
Originally posted by @PaulaFernandez in #165 (comment)
The text was updated successfully, but these errors were encountered: