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

Auth API - Update GET/POST affiliation endpoints to support sandbox env #25019

Closed
argush3 opened this issue Dec 19, 2024 · 2 comments
Closed
Assignees
Labels
Entities - Lorrie A label to filter on the tickets for the Entities based team that David is PO for. sbc-connect

Comments

@argush3
Copy link
Collaborator

argush3 commented Dec 19, 2024

Entities has the need for the following updates to auth api in prod so that sandbox api users are able to test end to end.

Affiliation logic for POST base_auth_url/orgs/{account}/affiliations shoud behave as follows:

  • When no Environment-Override header passed in, save affiliation entry as per before where “environment” column in “affiliations” table is null
  • When Environment-Override header is passed in, save affiliation entry

Affiliation logic for GET base_auth_url/orgs/{account}/affiliations shoud behave as follows:

  • When no Environment-Override header passed in, return just affiliation entries that have null value for “environment” column in “affiliations” table.
  • When Environment-Override header is passed in, return affiliation entries where “environment” column is null or environment matches Environment-Override override value(“sandbox”)
@sameer0422 sameer0422 self-assigned this Dec 19, 2024
@vikas-gov vikas-gov added Entities - Lorrie A label to filter on the tickets for the Entities based team that David is PO for. sbc-connect labels Dec 19, 2024
@argush3 argush3 mentioned this issue Dec 27, 2024
37 tasks
@seeker25
Copy link
Collaborator

seeker25 commented Jan 7, 2025

Already deployed to prod

@seeker25
Copy link
Collaborator

seeker25 commented Jan 8, 2025

Reopen if needed

@seeker25 seeker25 closed this as completed Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Entities - Lorrie A label to filter on the tickets for the Entities based team that David is PO for. sbc-connect
Projects
None yet
Development

No branches or pull requests

4 participants