diff --git a/CHANGELOG.md b/CHANGELOG.md index 7daae7d..a8198d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,20 @@ # Relatica Change Log -## Unreleased +## Version 0.7.2 (beta) + +* Changes +* Fixes + * Fixes initial OAuth authorization failing against Friendica 2023.09-rc servers +* New Features + +## Version 0.7.1 (beta) + +* Changes + * Updated versions of libraries to latest so could build on latest macOS version +* Fixes +* New Features + +## Version 0.7.0 (beta) * Changes * Added rate limiter on background contacts automatic updates diff --git a/lib/models/auth/oauth_credentials.dart b/lib/models/auth/oauth_credentials.dart index 9f0ca86..5bdd8b4 100644 --- a/lib/models/auth/oauth_credentials.dart +++ b/lib/models/auth/oauth_credentials.dart @@ -35,10 +35,11 @@ class OAuthCredentials implements ICredentials { }); factory OAuthCredentials.bootstrap(String serverName) { - final redirectScheme = - Platform.isWindows || Platform.isLinux ? 'http' : 'relatica'; + final redirectScheme = Platform.isWindows || Platform.isLinux + ? 'http://localhost:43824' + : 'relatica'; final redirectUrl = Platform.isWindows || Platform.isLinux - ? '$redirectScheme://localhost:43824' + ? redirectScheme : '$redirectScheme://authorize'; return OAuthCredentials( clientId: '',