Akryum / Akryum/awesomejs.dev

(Deploy previews) OAuth doesn't work

Aberta
#3 1 comentário 0 reações 1 responsável Reivindicada por @Akryum Ver no GitHub
bug
Linguagem predominante
Vue
Estrelas
207
Forks
21
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.