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

Multiple OR and AND security requirements and side effects #971

Closed
pkriens opened this issue Mar 8, 2017 · 1 comment
Closed

Multiple OR and AND security requirements and side effects #971

pkriens opened this issue Mar 8, 2017 · 1 comment
Labels
security: config The mechanics of severs and structure of security-related objects security

Comments

@pkriens
Copy link

pkriens commented Mar 8, 2017

Just asked a question on https://stackoverflow.com/questions/42679595/swagger-openapi-multiple-security-requirements-and-side-effects but then thought this might be a better place.

When implementing the specification I am not sure how to handle multiple security requirements that are OR and AND. Generally, a failed security requirement has side effects, for example OAuth2 needs to redirect and basic authentication need to set a header and result code.

However, which one of the security requirements to pick?

@handrews handrews added security security: config The mechanics of severs and structure of security-related objects labels Jan 29, 2024
@LasneF
Copy link
Member

LasneF commented Oct 3, 2024

The concern will be managed in this more recent ticket
#4119

@LasneF LasneF closed this as completed Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security: config The mechanics of severs and structure of security-related objects security
Projects
None yet
Development

No branches or pull requests

3 participants