HTTP_200 icon indicating copy to clipboard operation
HTTP_200 copied to clipboard

Avoid page reload when user attempts to login

Open itaditya opened this issue 8 years ago • 4 comments

Currently, the login process requires the browser to reload. This is annoying when the user fails to login due to incorrect credentials or some other reason.

itaditya avatar Jul 03 '17 18:07 itaditya

@itaditya can you please suggest a better workflow for this? When we were building the connect, then we tried to change this but due to constrained setting of allauth package, we could not do it. Please let me know if you suggest something better.

deshraj avatar Jul 04 '17 05:07 deshraj

@deshraj , I read about django-allauth but I'm unable to understand how it works at the core. So if you can give a little idea of it's mechanics then it would be great. Also, some questions - does it use JWT? does it uses page reload to save session data in the browser's cookie or whatever..

itaditya avatar Jul 05 '17 05:07 itaditya

I think it would require a non-trivial amount of effort and time to change the workflow. Also, the time and effort that you guys will spend in implementing this are not worth it. Please feel free to close it. :)

deshraj avatar Jul 05 '17 06:07 deshraj

I was just thinking, that we can ease the process when the login attempt fails like incorrect data or something else, if there are no such issues then django-allauth may proceed as usual

itaditya avatar Jul 05 '17 15:07 itaditya