File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ internal class DefaultAuthenticationService @Inject constructor(
298
298
}
299
299
300
300
// If an m.login.sso flow is present that is flagged as being for MSC3824 OIDC compatibility then we only return that flow
301
- val oidcCompatibilityFlow = loginFlowResponse.flows.orEmpty().firstOrNull { it.type == " m.login.sso" && it.delegatedOidcCompatibilty == true }
301
+ val oidcCompatibilityFlow = loginFlowResponse.flows.orEmpty().firstOrNull { it.type == " m.login.sso" && it.delegatedOidcCompatibility == true }
302
302
val flows = if (oidcCompatibilityFlow != null ) listOf (oidcCompatibilityFlow) else loginFlowResponse.flows
303
303
304
304
val supportsGetLoginTokenFlow = loginFlowResponse.flows.orEmpty().firstOrNull { it.type == " m.login.token" && it.getLoginToken == true } != null
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ internal data class LoginFlow(
51
51
* See [MSC3824](https://github.com/matrix-org/matrix-spec-proposals/pull/3824)
52
52
*/
53
53
@Json(name = " org.matrix.msc3824.delegated_oidc_compatibility" )
54
- val delegatedOidcCompatibilty : Boolean? = null ,
54
+ val delegatedOidcCompatibility : Boolean? = null ,
55
55
56
56
/* *
57
57
* Whether a login flow of type m.login.token could accept a token issued using /login/get_token.
You can’t perform that action at this time.
0 commit comments