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

Callback pages for Auth0 Login/Logout #40

Open
Tracked by #36
cubap opened this issue Mar 17, 2024 · 2 comments
Open
Tracked by #36

Callback pages for Auth0 Login/Logout #40

cubap opened this issue Mar 17, 2024 · 2 comments
Assignees

Comments

@cubap
Copy link
Member

cubap commented Mar 17, 2024

Logout

After a successful logout, a user's logged out status should be reported with a few simple links to

  1. log back in
  2. head "home"
  3. learn about related projects (RERUM, for example)

Login

This landing page is more complicated. The state that is passed back from the Auth0 login widget will contain the referrer followed for the authorization prompt.

  • No state: It should be an error if someone tries to go directly there. Something simple and visual with a link tot he homepage is appropriate.
  • Signup or Login: The logged in landing page. By default, this is at least the list of user projects, similar to the 2.8 page. If there are no projects, the Interface should show the Welcome page for new users.
  • Interfaces: Any other pages are quickly tested for URL validity and then redirected.

Notes

There will be a flash of content in most cases as the redirect happens, but no artificial delays should be used to pass a "Access granted" type of note.

Since redirects cannot be guaranteed correct or useful, care should be taken to find a way to eliminate any login loops, with possible interruptible options if we've seen the login for the third time in 20 seconds, for example.

@cubap cubap mentioned this issue Mar 17, 2024
9 tasks
@cubap cubap changed the title Interfaces: web interfaces for humans and reports Callback pages for Auth0 Login/Logout Mar 17, 2024
@cubap
Copy link
Member Author

cubap commented Mar 17, 2024

@cubap
Copy link
Member Author

cubap commented Nov 5, 2024

When you want a break, @thehabes this is a cherry on top of the work you already did for auth.

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

2 participants