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

[bug] Me endpoint currently requires authorization #339

Closed
cmp5987 opened this issue Oct 29, 2023 · 0 comments · Fixed by #344
Closed

[bug] Me endpoint currently requires authorization #339

cmp5987 opened this issue Oct 29, 2023 · 0 comments · Fixed by #344
Assignees
Labels
bug Something isn't working

Comments

@cmp5987
Copy link
Collaborator

cmp5987 commented Oct 29, 2023

Describe the bug
In order to provide better error states we should provide actionable information to the user. Such as their id that an admin would need to approve a users. We should have the 'Me' endpoint not require authorization to 'read' from.

To Reproduce

  1. Navigate to https://tavern.aws-metadata.com/# on an account that is not approved
  2. View network tab to see the unauthorized error message

Expected behavior

  1. User should navigate to https://tavern.aws-metadata.com/
  2. User should get a response from 'me' query
  3. Data from 'me' should have that admin and activated are false.

Screenshots
Screenshot 2023-10-29 at 3 52 08 PM

@cmp5987 cmp5987 added the bug Something isn't working label Oct 29, 2023
@cmp5987 cmp5987 changed the title [bug] Me currently requires authorization [bug] Me endpoint currently requires authorization Oct 29, 2023
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

Successfully merging a pull request may close this issue.

2 participants