Replies: 4 comments
|
Windows Client seems to have the same issue. |
|
I believe that in order to get a refresh_token the |
|
I'm not very talented in this OIDC background stuff. So is this more of an Opencloud issue than VoidAuth? I've see #198 but I'm still none the wiser. 😄 |
|
It seems to work now with the following config (let's see for how long 😃 ): Added to Opencloud .env: Added to Opencloud proxy.yaml Groups in VoidAuth (need to be assigned to the user also -> if user-light is needed, then create it also): Android, iOS and WebClient working with this config incl. Auto provisioning of the user to group in Opencloud. Only culprit: Desktop Client does not work due to this statement by Opencloud: Guess we'll just have to wait for that. In meantime, WebDAV can be used with Token based login. @notquitenothing Before I would make a PR for OIDC-Guides, I would want the vars be reviewed by some other users that run this setup. Quite possible that some values are wrong (with no workflow impact, but nevertheless) or this setup is overcomplicated like the crazy amount of work setting up Opencloud 😤Could you move this subject to discussions? Alternative way to the above would be to use the Opencloud default driver instead of oidc driver. This setup would also work with Desktop client, but with this setup, every new user would have the role user and IDM/user management would have to be made in Opencloud afterwards. So I went the 1st path described here. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
For gods sake I am not able to make VoidAuth work with Opencloud Android App. Web is working perfect. And redirect back and forth in the Android App to VoidAuth is working to.
Problem
The OpenCloud Android app correctly requests the OIDC scope
offline_access(seems to be hardcoded in the App regardless of Server Config), but VoidAuth does not return a refresh token. As a result, token renewal fails later with an error such as: Invalid Refresh Token and I am not able to log into Opencloud App.Webfinger Response:
VoidAuth advertises offline_access as a supported scope:
The OpenCloud Android app sends the expected request:
After successful authentication, the app exchanges the authorization code:
VoidAuth returns:
The response does not contain:
Additionally, VoidAuth removes the requested scope.
Expected behaviour: A successful offline_access flow should return something like:
The same flow was tested using an OIDC debugger:
Authorization Code Flow ✅
PKCE with SHA-256 ✅
Client ID: OpenCloudAndroid ✅
Scope: openid profile email offline_access ✅
Result:
Again, no refresh_token was returned.
Anybody got the Android or iOS Client working with Opencloud? If yes, what's the setting in VoidAuth OIDC config?
All reactions