Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit ccaf5a8

Browse files
authored
Merge pull request #392 from owncloud/fix/oidc_no_registration_endpoint
Make some fields not mandatory in discovery response
2 parents 3f8ddd0 + 8c4a270 commit ccaf5a8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/oauth/responses/OIDCDiscoveryResponse.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ import com.squareup.moshi.JsonClass
3131
@JsonClass(generateAdapter = true)
3232
data class OIDCDiscoveryResponse(
3333
val authorization_endpoint: String,
34-
val check_session_iframe: String,
35-
val end_session_endpoint: String,
34+
val check_session_iframe: String?,
35+
val end_session_endpoint: String?,
3636
val issuer: String,
37-
val registration_endpoint: String,
37+
val registration_endpoint: String?,
3838
val response_types_supported: List<String>,
39-
val scopes_supported: List<String>,
39+
val scopes_supported: List<String>?,
4040
val token_endpoint: String,
41-
val token_endpoint_auth_methods_supported: List<String>,
42-
val userinfo_endpoint: String,
41+
val token_endpoint_auth_methods_supported: List<String>?,
42+
val userinfo_endpoint: String?,
4343
)

0 commit comments

Comments
 (0)