awesomejs.dev icon indicating copy to clipboard operation
awesomejs.dev copied to clipboard

(Deploy previews) OAuth doesn't work

Open Akryum opened this issue 6 years ago • 1 comments

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

Akryum avatar Oct 11 '19 18:10 Akryum

https://github.com/iamstarkov/topics-manager/pull/47

Akryum avatar Oct 11 '19 18:10 Akryum