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

Need for fine-grained per-channel authn/authz #306

Open
jstoiko opened this issue Jan 21, 2020 · 1 comment
Open

Need for fine-grained per-channel authn/authz #306

jstoiko opened this issue Jan 21, 2020 · 1 comment
Labels
keep-open Prevents stale bot from closing this issue or PR

Comments

@jstoiko
Copy link
Contributor

jstoiko commented Jan 21, 2020

The current authn/authz mechanism described with securitySchemes in AsyncAPI 2.0 works at a global level, i.e. it is definable inside the server node. oAuth2 “scopes” allows to provide some authz metadata related to specific channels however 1) it only applies to oAuth2 and 2) it applied to the entire API.

Sometimes, an API may have different channels supporting a different set of permissions. Those permissions are usually reflected in the security scheme being used. Therefor, it would be nice to have the ability to set securitySchemes at the channel level.

@fmvilas fmvilas added the keep-open Prevents stale bot from closing this issue or PR label Mar 13, 2020
@fmvilas fmvilas added this to the AsyncAPI specification 2.1.0 milestone Mar 13, 2020
@fmvilas fmvilas removed this from the Next specification version milestone May 12, 2021
@github-actions github-actions bot added the stale label Oct 5, 2021
@asyncapi asyncapi deleted a comment from github-actions bot Oct 5, 2021
@derberg derberg removed the stale label Oct 5, 2021
@derberg
Copy link
Member

derberg commented Oct 5, 2021

@jstoiko have you seen #584 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep-open Prevents stale bot from closing this issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants