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

Prop for selecting redirect strategy #16

Open Coow opened 3 years ago

Coow commented 3 years ago

Add a prop to the Component to allow different methods when clicking the button. I.E: Popout (default now), new tab(_blank) & current window.

I might look into this myself in the near future if I have time

bhubr commented 3 years ago

Hello, Sorry for the late reply, I've been on holiday, and a little off-the-grid for a while. If you don't think you'll have time for this soon, I think I could do it myself. Thanks for the suggestion anyway!