🐛 Fix oidc callback

This commit is contained in:
2025-11-16 18:38:36 +08:00
parent a8617a5040
commit e7e3bfcadf
3 changed files with 14 additions and 6 deletions

View File

@@ -653,8 +653,9 @@ class _LoginLookupScreen extends HookConsumerWidget {
final token = ref.watch(tokenProvider);
final deviceId = await getUdid();
final queryParams = <String, String>{
'redirect_uri': 'solian://auth/callback',
'device_id': deviceId,
'returnUrl': 'solian://auth/callback',
'deviceId': deviceId,
'flow': 'login',
};
if (token?.token != null) {
queryParams['token'] = token!.token;