kopia lustrzana https://gitlab.com/mysocialportal/relatica
Updates to get OAuth somewhat working but not ideal
rodzic
8d435b1507
commit
a86aa60df6
|
@ -151,7 +151,9 @@ class OAuthCredentials implements ICredentials {
|
|||
final result = await FlutterWebAuth2.authenticate(
|
||||
url: url.toString(),
|
||||
callbackUrlScheme: redirectScheme,
|
||||
);
|
||||
options: const FlutterWebAuth2Options(
|
||||
preferEphemeral: true,
|
||||
));
|
||||
final code = Uri.parse(result).queryParameters['code'];
|
||||
if (code == null) {
|
||||
_logger.severe(
|
||||
|
|
Ładowanie…
Reference in New Issue