Merge pull request #4817 from pengufrost/4785_fix_sso_redirect

This commit is contained in:
SBiOSoftWhare 2021-09-14 08:43:16 +02:00 committed by GitHub
commit 2abaff826e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -51,7 +51,7 @@ final class SSOAuthenticationService: NSObject {
var ssoRedirectPath = SSOURLConstants.Paths.redirect
if let identityProvider = identityProvider {
ssoRedirectPath.append(identityProvider)
ssoRedirectPath.append("/\(identityProvider)")
}
authenticationComponent.path = ssoRedirectPath

View file

@ -24,6 +24,6 @@ enum SSOURLConstants {
}
enum Paths {
static let redirect = "/_matrix/client/r0/login/sso/redirect/"
static let redirect = "/_matrix/client/r0/login/sso/redirect"
}
}

1
changelog.d/4785.bugfix Normal file
View file

@ -0,0 +1 @@
SSO: Fix redirection issue when logging in with single sign on. Contributed by Chelsea Finnie.