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

Integrate JWT Auth into API #2086

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Integrate JWT Auth into API #2086

wants to merge 1 commit into from

Conversation

mikesmit
Copy link
Collaborator

@mikesmit mikesmit commented Jan 6, 2025

partially fixes #2063

This will allow us to add permissions checks to our API calls. Currently
it does not require a valid JWT, but if one exists will store the "sub"
field such that the user's id can be checked against our user table to
establish permissions.

In the user profile api calls we will check user permission, but not yet
fail (just log) if the constraint is not met.

@mikesmit mikesmit force-pushed the 2063_add_auth_to_api branch 2 times, most recently from 50cf3dd to 566e149 Compare January 6, 2025 04:16
@mikesmit mikesmit force-pushed the 2063_add_auth_to_api branch 2 times, most recently from 361b3d4 to 371bb04 Compare January 7, 2025 19:56
partially fixes #2063

This will allow us to add permissions checks to our API calls. Currently
it does not require a valid JWT, but if one exists will store the "sub"
field such that the user's id can be checked against our user table to
establish permissions.

In the user profile api calls we will check user permission, but not yet
fail (just log) if the constraint is not met.
@mikesmit mikesmit force-pushed the 2063_add_auth_to_api branch from 371bb04 to afe0a12 Compare January 7, 2025 19:57
@anth-volk
Copy link
Collaborator

@mikesmit Looks like there's a merge conflict. Is it possible that you opened this branch off of another partly-implemented branch? If so, could you rebase off master and ensure that changelog_entry.yaml is blank as a result?

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

Successfully merging this pull request may close these issues.

Add authentication/authorization to the API
3 participants