Akryum / Akryum/awesomejs.dev

(Deploy previews) OAuth doesn't work

Open
#3 1 comment 0 reactions 1 assignee Claimed by @Akryum View on GitHub
bug
Dominant language
Vue
Stars
207
Forks
21
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.