-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Open
Labels
headersparam serializationIssues related to parameter and/or header serializationIssues related to parameter and/or header serializationsecuritysecurity: authAuthentication including overlap with authorizationAuthentication including overlap with authorization
Milestone
Description
Hi,
I need to use Cookie Authentication for my APIs, but the authentication cookie name's in my app changes every time you log in (only the cookie name prefix is known: shibsession).
I was looking for a way to specify cookies name pattern instead of the exact name. Is there such a feature?
Metadata
Metadata
Assignees
Labels
headersparam serializationIssues related to parameter and/or header serializationIssues related to parameter and/or header serializationsecuritysecurity: authAuthentication including overlap with authorizationAuthentication including overlap with authorization
Type
Projects
Relationships
Development
Select code repository
Activity
markcraig commentedon Dec 8, 2021
The API I'm describing has a similar problem. Although the API is the same across tenants, the cookie name depends on the tenant.
In this case, it would be helpful to be able use a template for the name, rather than just a
string
as indicated in https://spec.openapis.org/oas/v3.1.0#security-scheme-object.For example:
handrews commentedon Nov 21, 2024
We're looking at adding more powerful data modeling (including for headers) and security configuration in 3.3 (after a short 3.2 that excludes more complex issues like this). I think part of the problem here is that the special treatment of Authentication (rather than modeling it like other headers) removes some features that would be useful. Another part might be that we just don't model cookies all that well in general.