You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @javadch. Speaking about oauth2, we currently provide an operation middleware for oauth2 scopes authorization. It can be used for already authenticated requests when you have set oauth scopes on the path (e.g. by some prior middleware on express stack) that can be reached from req (e.g. req.user.grantedScopes or req.headers['x-oauth-scopes']).
Please let me know if it is what you are looking for and I would love to provide an example of oauth scopes authorization.
Can you please provide an example that includes the use of oauth in the spec (and in the code).
The text was updated successfully, but these errors were encountered: