Uh oh!
There was an error while loading. Please reload this page.
Proposal: Add JWT audience in security scheme - #3286
Conversation
1acd02e to
134cf47Comparedarrelmiller
commented
Feb 22, 2024
This would be a good suggestion to trial as an |
handrews
commented
Feb 29, 2024
@emmanuelgautier since @darrelmiller suggested trying this out as an which mentions an |
emmanuelgautier
commented
Mar 18, 2024
Thanks @darrelmiller and @handrews both for your review and sorry if I missed a submission process. This is my first contribution to the spec. As suggested, more comments will be added then in the following issue about tokens here: OAI/sig-security#29. |
handrews
commented
Mar 18, 2024
@emmanuelgautier no worries about missing the process- we're coming out of a bit of a hibernation period and we're working on documenting our current processes through our Contributor Guidance Project. So you didn't miss anything that you should have been able to figure out right now- we're working on it! |
As described in the JWT RFC and in the OpenId Connect spec for example,
audiencemust be verified.A client can request the audience during an OAuth 2.0 authorization flow, so having
audiencein the OpenAPI can be convenient. This audience documentation can also be used to add more documentation about the API security strategy and ensure the security is enforced.