From 119647e214d7aeb5d8e2a88aa8ee3e8c92a61897 Mon Sep 17 00:00:00 2001 From: Hank Grabowski Date: Mon, 6 Nov 2023 09:54:56 -0500 Subject: [PATCH 1/2] Fix, redirect scheme on desktop has to be the full URL not just http --- lib/models/auth/oauth_credentials.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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: '', From 1e0d0f84826bd7ca907318211cacfead041a95d9 Mon Sep 17 00:00:00 2001 From: Hank Grabowski Date: Mon, 6 Nov 2023 13:23:30 -0500 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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