Auth API - Update GET/POST affiliation endpoints to support sandbox env #25019
Labels
Entities - Lorrie
A label to filter on the tickets for the Entities based team that David is PO for.
sbc-connect
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:
Environment-Override
header passed in, save affiliation entry as per before where “environment” column in “affiliations” table is nullEnvironment-Override
header is passed in, save affiliation entryAffiliation logic for GET base_auth_url/orgs/{account}/affiliations shoud behave as follows:
Environment-Override
header passed in, return just affiliation entries that have null value for “environment” column in “affiliations” table.Environment-Override
header is passed in, return affiliation entries where “environment” column is null or environment matchesEnvironment-Override
override value(“sandbox”)The text was updated successfully, but these errors were encountered: