fix(auth): flutter_web_auth_2 + PKCE manuel (retour OIDC fiable via CallbackActivity)
Build APK / build (push) Successful in 2m28s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
neckfire
2026-07-13 10:56:19 +02:00
co-authored by Claude Opus 4.8
parent 1fe4528b0b
commit 4a265e0fd2
5 changed files with 146 additions and 85 deletions
+3 -2
View File
@@ -5,7 +5,8 @@ class Config {
// OIDC pocket-id (client public + PKCE)
static const String oidcIssuer = 'https://pocket.nfteam.ovh';
static const String oidcClientId = '83678fb3-9268-42c1-8dcb-0fb141692a6d';
// App Link HTTPS (fiable ; le schéma custom est bloqué par Chrome au retour)
static const String oidcRedirect = 'https://gamemanager-api.nfteam.ovh/oidc/callback';
// Schéma custom capté par flutter_web_auth_2 (CallbackActivity dédiée)
static const String oidcScheme = 'nfteam.gamemanager';
static const String oidcRedirect = 'nfteam.gamemanager://oidc';
static const List<String> oidcScopes = ['openid', 'profile', 'email'];
}