bhubr / react-simple-oauth2-login

Simple React component for OAuth2 login - Supports Authorization Code and Implicit Grant flows.
MIT License
49 stars 31 forks source link

"The popup was closed for an unexpected reason" popup is still open #56

Open winklevos opened 1 year ago

winklevos commented 1 year ago

I'm having an issue getting this working on my app. I've followed the example and the popup opens and retrieves a code from the auth endpoint, then redirects to http://localhost:3001/auth/redirect

The app is on http://localhost:3001/

I can't seem to see any other errors stopping it from returning correctly. It occurs on Chrome, Firefox, and Edge.

Any assistance would be appreciated

bhubr commented 1 year ago

Hello @winklevos

I'll try my best to help! First, I'm gonna try narrowing down the possible causes: