Auto-login via token coach_web_token au lancement
- capacitor.config.ts charge coachWebToken depuis coach-ios.local.json (gitignored) - server.url devient https://coach.hypnotruck.ch/login?token=... → backend pose le cookie 1 an, redirige vers / - Au prochain lancement, le cookie tient → /login?token redirige direct vers / - coach-ios.local.json.example fourni pour setup Mac mini
This commit is contained in:
3
coach-ios.local.json.example
Normal file
3
coach-ios.local.json.example
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"coachWebToken": "REMPLACE_PAR_LA_VALEUR_DE_COACH_WEB_TOKEN"
|
||||
}
|
||||
Reference in New Issue
Block a user