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 the WeOS id to the request context #272

Open
akeemphilbert opened this issue Dec 7, 2023 · 1 comment
Open

Add the WeOS id to the request context #272

akeemphilbert opened this issue Dec 7, 2023 · 1 comment
Assignees

Comments

@akeemphilbert
Copy link
Contributor

akeemphilbert commented Dec 7, 2023

We need the user id in the request context to make calls to IAM. Right now the user id that is in the context is the Auth0 user id. Add a new context value for "WEOS_USER_ID" that references the user uri

@akeemphilbert akeemphilbert self-assigned this Dec 7, 2023
@akeemphilbert
Copy link
Contributor Author

Realized it should be possible to just change the x- jwt-map in the api config to use our key instead

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