Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Option to disable "auto login" #20

Closed
soofstad opened this issue Aug 28, 2022 · 3 comments
Closed

Feature: Option to disable "auto login" #20

soofstad opened this issue Aug 28, 2022 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@soofstad
Copy link
Owner

For some cases, automatically logging in on page load might not be suitable.
There should be a option to set loginOnPageLoad: false.

The login() function also needs to be exported by the <AuthContext> so manual login is possible.

@soofstad soofstad added enhancement New feature or request good first issue Good for newcomers labels Aug 28, 2022
@soofstad
Copy link
Owner Author

soofstad commented Sep 4, 2022

closed with bb07098

@soofstad soofstad closed this as completed Sep 4, 2022
@fujale
Copy link

fujale commented Sep 30, 2022

This enhancement is not really working. Nothing happens when we tap on the CTA button.

@soofstad
Copy link
Owner Author

soofstad commented Oct 1, 2022

Hi,
Thank you for reporting this.
Have you set the autoLogin: false option?
And trying to login with a button calling the loginfunction like this <button onClick={() => login()}>Login</button>?

If this did not solve it, could you upload that code that is not working for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants