Skip to content

Conversation

@AramAlsabti
Copy link
Contributor

@AramAlsabti AramAlsabti commented Mar 18, 2022

With an API key, you need to know which organization id it's tied to as some endpoints require it. You cannot acquire this with the API key as the /organization endpoint requires a JWT token and an admin role.

This adds a new API key controller whose purpose is to harbor information such as the corresponding organization to an API key. Keeping it separate from the other controllers makes scoping and maintenance easier

Related docs PR

@AramAlsabti AramAlsabti requested a review from GufCab March 18, 2022 11:02
@AramAlsabti AramAlsabti self-assigned this Mar 18, 2022
@GufCab GufCab merged commit c03a1ef into stage Apr 27, 2022
@AramAlsabti AramAlsabti deleted the feature/1306_org-id-with-api-key branch June 23, 2022 11:13
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.

3 participants