Allow a user to change an account
-
Hi,
I’m using the nsl_registration_user_data filter to prevent Google authentication user registrations in some cases. It works great, and whenever I do that, I redirect the user to an error page which allows him to register/login again.
The problem is that whenever I do that, when the user click the Google authentication link again, he automatically just sees the error again (as he’s already “authenticated” to Google).
Is there an option to revoke the “token” that is saved by Google and allow the user to select a different account?The flow is:
1. user enters our login screen
2. the user clicks google authentication and selects an account
3. we decide not to allow registration and redirect to an error page
4. the user tries to authenticate (register/login) with a different user, which we should allow
5. At this point, I would like the list of google users to show up again. Instead, the authentication logic happens behind the scenes and he sees the error again for the previous account he already chose.What can be done to allow the user to switch accounts?
Thanks.
- The topic ‘Allow a user to change an account’ is closed to new replies.