Akryum / Akryum/awesomejs.dev

(Deploy previews) OAuth doesn't work

Ouverte
#3 1 commentaire 0 réactions 1 personne assignée Réclamée par @Akryum Voir sur GitHub
bug
Langage dominant
Vue
Étoiles
207
Forks
21
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

**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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.