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

Add Loading Spinner As Login is Processed #23

Open
RaniSputnik opened this issue Apr 12, 2019 · 0 comments
Open

Add Loading Spinner As Login is Processed #23

RaniSputnik opened this issue Apr 12, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@RaniSputnik
Copy link
Owner

RaniSputnik commented Apr 12, 2019

When the client begins to query the server it would be good to add some visual feedback on the browser page to indicate that something is happening. This would be especially effective in a cross-device scenario where you can see loading bars on both devices as they appear to "sync up".

This would be most effective for CPS logins, or if websockets are used for pushing authentication state updates to the browser as described in #21.

We could do this by using three states for the paging endpoint / websocket messages eg.

404 - Not Found // No session in progress
202 - Accepted // Client authentication in progress
302 - Found // Authentication complete, redirect the browser

This should be considered an enhancement to #20

@RaniSputnik RaniSputnik added the enhancement New feature or request label Apr 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant