Akryum / Akryum/awesomejs.dev

(Deploy previews) OAuth doesn't work

未关闭
#3 1 条评论 0 个 reaction 已指派 1 人 已被 @Akryum 认领 在 GitHub 查看
bug
主要语言
Vue
星标
207
派生
21
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。