You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e25a7ea
Browse filesBrowse the repository at this point in the historyBrowse files
fix: persist the registered OAuth client authentication method
Before dynamic registration, the app selects one method from discovery:
client_secret_basic when that method is advertised or when the list is
omitted, and client_secret_post only when basic is absent. A list that
contains neither method stops registration with an error and does not
send a request. The selected method is carried on the registration
result, saved on the account as token_endpoint_auth_method, and reused
for the authorization-code exchange and for refresh. A previously
registered client with no stored method stays on Basic, which is how it
was registered. Clients that were never dynamically registered still use
client_secret_post when discovery advertises it.
Fixes#4891
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Copy file name to clipboardExpand all lines: owncloudData/src/main/java/com/owncloud/android/data/authentication/datasources/implementation/OCLocalAuthenticationDataSource.kt
Copy file name to clipboardExpand all lines: owncloudData/src/main/java/com/owncloud/android/data/oauth/datasources/implementation/OCRemoteOAuthDataSource.kt
Copy file name to clipboardExpand all lines: owncloudDomain/src/main/java/com/owncloud/android/domain/authentication/oauth/model/ClientRegistrationInfo.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,4 +24,5 @@ data class ClientRegistrationInfo(
Copy file name to clipboardExpand all lines: owncloudDomain/src/main/java/com/owncloud/android/domain/authentication/oauth/model/OIDCServerConfiguration.kt
0 commit comments