You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to display "Routing to authentication service..." message to the user, and once returned back to oidcCallback address from the authentication server, I'd like to display a different message like "Processing authentication...".
How to discern that the user is not authenticated and has not gone to the authentication server yet?
For now it seems I may need to discern this "processing authentication" state by looking at the route path, if it matches to oidc callback route (this could perhaps also be exposed as an getter?) and has some specific route params (like access_token), that the authentication server is supplying...
Could there be a store module state for exposing this state of processing?
The text was updated successfully, but these errors were encountered:
Basically I had to do this kind of logic: !oidcAccessToken && !(window.location.pathname === '/oidc-callback') ? 'Routing to authentication service...' : !oidcAuthenticationIsChecked ? 'Processing authentication...' : 'Fetching data...' where the message is hidden after account's data has been fetched.
So could we add some boolean getter to discern whether authentication process is bootstrapping or is still processing after redirection back from the authentication server, but authentication has not yet been marked as checked?
I'd like to display "Routing to authentication service..." message to the user, and once returned back to oidcCallback address from the authentication server, I'd like to display a different message like "Processing authentication...".
How to discern that the user is not authenticated and has not gone to the authentication server yet?
For now it seems I may need to discern this "processing authentication" state by looking at the route path, if it matches to oidc callback route (this could perhaps also be exposed as an getter?) and has some specific route params (like
access_token
), that the authentication server is supplying...Could there be a store module state for exposing this state of processing?
The text was updated successfully, but these errors were encountered: