Skip to content

Commit 11d8c34

Browse files
committed
Increased supported minimum Hub version, updated redirect URL
1 parent 47e3022 commit 11d8c34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CryptomatorCommon/Sources/CryptomatorCommon/CryptomatorHubAuthenticator+HubAuthenticating.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension CryptomatorHubAuthenticator: HubAuthenticating {
2929
guard let tokenEndpoint = URL(string: hubConfig.tokenEndpoint) else {
3030
throw HubAuthenticationError.invalidTokenEndpoint
3131
}
32-
guard let redirectURL = URL(string: "hub.org.cryptomator.ios:/auth") else {
32+
guard let redirectURL = URL(string: "org.cryptomator.ios:/hub/auth") else {
3333
throw HubAuthenticationError.invalidRedirectURL
3434
}
3535
let configuration = OIDServiceConfiguration(authorizationEndpoint: authorizationEndpoint,

CryptomatorCommon/Sources/CryptomatorCommonCore/Hub/CryptomatorHubAuthenticator.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public enum CryptomatorHubAuthenticatorError: Error {
4444

4545
public class CryptomatorHubAuthenticator: HubDeviceRegistering, HubKeyReceiving {
4646
private static let scheme = "hub+"
47-
private static let minimumHubVersion = 1
47+
private static let minimumHubVersion = 2
4848
@Dependency(\.cryptomatorHubKeyProvider) private var cryptomatorHubKeyProvider
4949

5050
public init() {}

0 commit comments

Comments
 (0)