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

✨ Add API endpoint to Control Panel that returns a users Justice Email #5533

Open
4 tasks
michaeljcollinsuk opened this issue Oct 3, 2024 · 0 comments
Open
4 tasks
Labels

Comments

@michaeljcollinsuk
Copy link
Contributor

User Story

As a developer
I need the control panel API to return users Justice email address
So that we can programatically match a users github identity with their justice identity from other services

Value / Purpose

Will allow us to use a users Github identity to retrieve their Justice identity. We can then use this to sync permissions granted from the data-engineering-database-access repo with Lake Formation permissions against the user's Justice identity.

Useful Contacts

No response

User Types

No response

Hypothesis

If we... have way to programatically retrieve a users Justice email from their Github username
Then... we can use the Justice identity to grant LF permissions when their access changes in data-engineering-database-access

Proposal

  • Check existing API endpoints in Control Panel for one that could be used
  • If one is not present, and a new endpoint that takes a users Github username, and as a minimum returns the users Justice Identity
  • Consider any other details about the user that we may want to return
  • Ensure adequate authentication is in place for the API endpoint. We should be able to utilise the existing auth process, which uses Auth0

Additional Information

No response

Definition of Done

  • API endpoint implemented
  • API endpoint documented
  • API endpoint tested using a test application set up in Auth0
  • Any follow up tickets raised
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 👀 TODO
Development

No branches or pull requests

1 participant