alexandrtovmach / react-microsoft-login

Microsoft services authorization with React.
https://alexandrtovmach.github.io/react-microsoft-login
MIT License
80 stars 38 forks source link

Adding Props to Not Return Signedin Object on Load #85

Open hassan-righthand opened 3 years ago

hassan-righthand commented 3 years ago

Is your feature request related to a problem? Please describe. If cookie is saved and whenever the page is loaded, it automatically signed in without clicking on the button

Describe the solution you'd like Adding props that will help to disable this auto request to the handler on page load.

Describe alternatives you've considered As this feature was not present, I have to manually build the logic to stop auto requests to the handler until and unless the user clicks on the button

Additional context https://www.npmjs.com/package/react-google-login ( something like this , isSignedIn )