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

API: User Management & Authentication #51

Merged
merged 6 commits into from
Sep 3, 2023
Merged

API: User Management & Authentication #51

merged 6 commits into from
Sep 3, 2023

Conversation

codello
Copy link
Contributor

@codello codello commented Sep 2, 2023

This PR introduces user management & authentication in the API. In particular:

  • New endpoints are added under /v1/users/... for user management
  • A new endpoint /auth/token is added for login. This endpoint conforms to the OAuth token endpoint mainly for compatibility reasons but this might also make future extension easier. The authorization_code grant type is not an intended feature in this PR.
  • All existing endpoints are amended with a security scheme as well as appropriate 401 and 403 error responses where applicable.

This PR also fixes some linting errors in the spec and adds whitespace to improve readability.

Related to #5

@codello codello added the api Related to the Karman API label Sep 2, 2023
@codello codello added this to the Version 0.1 milestone Sep 2, 2023
@codello codello marked this pull request as ready for review September 2, 2023 16:35
@codello codello requested a review from kenowi-dev as a code owner September 2, 2023 16:35
@codello codello mentioned this pull request Sep 2, 2023
openapi/tags/user.yaml Outdated Show resolved Hide resolved
@codello codello requested a review from kenowi-dev September 3, 2023 10:14
@codello codello merged commit 95e329f into main Sep 3, 2023
@codello codello deleted the feature/user-auth branch September 3, 2023 13:51
@codello codello mentioned this pull request Sep 9, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to the Karman API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants