Akryum / Akryum/awesomejs.dev

(Deploy previews) OAuth doesn't work

Aperta
#3 1 commento 0 reazioni 1 assegnatario Rivendicata da @Akryum Vedi su GitHub
bug
Lingua principale
Vue
Stelle
207
Fork
21
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Describe the bug**
Because the OAuth settings are set to specific whitelisted callback URLs, signing in on deploy previews is impossible currently.

Solution would be to pass the origin to the strategy meta option and redirect from production to the preview url after auth is successful.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to deploy preview (not production)
2. Try to sign in with GitHub

**Expected behavior**
Be able to sign in with OAuth

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.