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

Auth flow #1

Open
mcovalt opened this issue Jan 13, 2021 · 0 comments
Open

Auth flow #1

mcovalt opened this issue Jan 13, 2021 · 0 comments

Comments

@mcovalt
Copy link

mcovalt commented Jan 13, 2021

Definition of done:

  • The user is redirected to the login screen when recieving a 401 or 403.
  • An additional error "unauthorized" error is displayed for 403.
  • The currently logged in user is stored in Vuex store.

Tips:

  • Girder Web Components provides a component to login.
  • Axios can have a hook to redirect on these error codes applied globally.
  • Vue Router can hae a hook to get login state on navigation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant