kopia lustrzana https://gitlab.com/mysocialportal/relatica
Merge branch 'oauth-error-fix' of gitlab.com:mysocialportal/relatica into oauth-error-fix
commit
35d13687dc
16
CHANGELOG.md
16
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
|
||||
|
|
|
@ -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: '',
|
||||
|
|
Ładowanie…
Reference in New Issue