Akryum / Akryum/awesomejs.dev

(Deploy previews) OAuth doesn't work

Đang mở
#3 1 bình luận 0 reaction 1 người được giao Được @Akryum nhận Xem trên GitHub
bug
Ngôn ngữ chính
Vue
Star
207
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.