-
Notifications
You must be signed in to change notification settings - Fork 131
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
[FEATURE REQUEST] OIDC Dynamic Client Registration support #865
Comments
Don't working properly after expiring of client id / secret id Request to
Logs caught in iOS app: ownCloud_21_Jan_2021_at_17_45_31.log.txt iPhoneXR v14.2 |
Thanks for the log! What seems to have happened is that the I've now made changes so that the token refresh request will now:
Please check if the issue is solved in the updated |
Last check with commit
Something similar happening in desktop client (owncloud/client#8402) and in Android. All teams will need some allignment New logs: |
These logs were caught against |
Thanks! So here's what I learnt:
{
"error": "access_denied",
"error_description": "unknown client_id: dyn.eyJhbGciOiJQ…"
}
{
"error": "invalid_grant",
"error_description": "client_id mismatch"
} The {
"aud": "dyn.eyJhbGciOiJQUzI1NiIsImtpZCI6Imtvbm5lY3RkX3ByaXZhdGUiLCJ0eXAiOiJKV1QifQ.eyJleHAiOjE2MTEyNTExNDksImlhdCI6MTYxMTI0NzU0OSwic3ViIjoiTHBfT3c1cjFLZnB2a0poQ2NrWEdCeXk1N0hoaW4zbXJfanVaVHBwOUxHUlhBQ1NRN1FUa2VBbElwc18yVHF4UWMyalNDYjJFeE9TbkpxYUVqdk5PcFEiLCJuYW1lIjoib3duQ2xvdWQvaU9TIDExLjUiLCJncmFudF90eXBlcyI6WyJhdXRob3JpemF0aW9uX2NvZGUiXSwiYXBwbGljYXRpb25fdHlwZSI6Im5hdGl2ZSIsInJlZGlyZWN0X3VyaXMiOlsib2M6Ly9pb3Mub3duY2xvdWQuY29tIl0sImlkX3Rva2VuX3NpZ25lZF9yZXNwb25zZV9hbGciOiJSUzI1NiIsInRva2VuX2VuZHBvaW50X2F1dGhfbWV0aG9kIjoiY2xpZW50X3NlY3JldF9iYXNpYyJ9.vrVtDt4XdLkQ7j_h_OPlKsNn7EJsplvsqKOiK7YMbfcEMTUew8eNqkthfLzzD3BOJhkcUsMEJVWO8IWbxtEcZfgAZdvkLOtzS4F0Ku3B1KXGwogcHz3MxjJVZnOVtYeNjbZQTAm-iSdiUzgq6faTQ1BEQImAuH57L8ctmaiqIMqMPm0n7uCu0UDdRjpi-qFHOvau0TrcGyMW8zK_iwIGCXKfpakwlbrnBPvInGWSHtl8Iim-UKWoOAkVh3rDkZrtM8JLuq4bGps89Lzfft6XDSkIE83HmWV5fIxl8tRPCQcaUd4bwQITmwRoXcPRWqfFKLPFVExUJIJehbEHflINsw",
"exp": 1611251163,
"iat": 1611247563,
"iss": "https://ocis.owncloud.works/",
"sub": "XtSi_miyWSB-pkvGnxPoC5A4flih0UCLgvU7cLwjmjCKX7FYn2HWk6rRCEuy2G5qAy_yMQc_FK9aNFhUMrX2pQ@konnect",
"at_hash": "yoFapjaziVILSjfmsQTYog",
"sid": "pMSeThLUTNxZA2pxWCqDZjoqvuskdt7iBWoVL0RdRiE="
} So from my side, it seems impossible to fix this issue. At this point it certainly looks like it will need changes on the server side to use dynamic client ID together with a refresh_token. |
Per owncloud/openidconnect#142 the iOS client sticks to the standards and the need for reauthentication by the user is a consequence of the expiry of the The solution likely will be |
Background
This issue tracks support for OIDC Dynamic Client Registration support, which is provided via the SDK (in commit owncloud/ios-sdk@85e09cb) and already available in
milestone/11.5
(#779).Spec
Testing
OIDC Dynamic Client Registration is available on
ocis.owncloud.works
. You should see log messages tagged withClientRegistration
when creating a bookmark with that target.Tested successfully:
PR
#779
Related
The text was updated successfully, but these errors were encountered: