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

New auth0 accounts not getting added to permission group #18

Open
hannahkates opened this issue Jun 20, 2020 · 0 comments
Open

New auth0 accounts not getting added to permission group #18

hannahkates opened this issue Jun 20, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@hannahkates
Copy link
Contributor

hannahkates commented Jun 20, 2020

Who’s experiencing this?

All new users who create accounts on CPP.

How does it manifest?

The user can successfully create an account (it shows up in auth0), but when trying to login they get redirected to CPP with a blank page because of an invalid token error. This prevents them from accessing the logged in view of CPP.
image

Why?

New accounts aren’t getting automatically added to the necessary permission “group” to be able to access the non-public routes. Users should be added the group called "Sitewide Access."

The group permission management is handled under Authorization -> Users.

It seems like something is wrong with our configuration. This might have something do with our version of Authorization Extension being out of date (ours = 2.0, latest = 2.8). There are breaking changes for upgrading, so we would need to dedicate time to the upgrade. https://auth0.com/docs/extensions/authorization-extension/v2

The extension in Auth0 is managed under Extensions -> Installed Extensions -> Auth0 Authorization.

Potential solutions

  • Fix the configuration and probably upgrade the Authorization Extension
  • Implement NYC.ID instead?

Workaround in the meantime

Manually add new users to the "Sitewide Access" group in the Auth0 admin GUI
How to:

  • Login to auth0.com using creds on 1password
  • Click on Authorization
  • Click on Users
  • Click on the specific user who needs permission
  • Add user to "Sitewide Access" group
@hannahkates hannahkates added the bug Something isn't working label Jun 20, 2020
@hannahkates hannahkates changed the title Auth0 invalid token error for new accounts New auth0 accounts not getting added to permission group Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant