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

Handle NUS auth errors gracefully #3839

Open
jloh02 opened this issue Oct 18, 2024 · 0 comments
Open

Handle NUS auth errors gracefully #3839

jloh02 opened this issue Oct 18, 2024 · 0 comments

Comments

@jloh02
Copy link
Member

jloh02 commented Oct 18, 2024

Describe the bug

During CPEx, login to NUS auth using email instead of NUSNET ID will cause a redirect to /api/nus/auth/login without a secondary redirect back to CPEx page, causing "An unexpected error has occurred" error to appear.

Expected behavior

A proper error page showing that the user was not fully authenticated and need to take the following steps to rectify:

  • Clear browser cache/Incognito
  • Login again using NUSNETID
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