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
When I click the Authorize Button I get the "Available authorizations" dialog for selecting the scope(s) as ecpected. The available scopes are defined in code via AddSecurityDefinition.
However, I would like to bypass this dialog and have the scopes automatically selected. If you have 8 or 10 scopes to check everytime you authorize it can become quite annoying in a dev environment. Could anyone advise how to do this or even provide the necessary code\config?
Thanks heaps!
The text was updated successfully, but these errors were encountered:
Ok...I worked out that if I add scopes to the OAuthAdditionalQueryStringParams on UseSwaggerUI rather than to the Scopes property on AddSecurityDefinition, the scopes are used without the need for the user to select them on the Available authorizations screen.
However, how can I bypass the Available authorizations screen all together so the user doesn't even see it?
This is done to avoid resurrecting old issues and bumping long threads with new, possibly unrelated content.
If you think you're experiencing something similar to what you've found here: please open a new issue, follow the template, and reference this issue in your report.
When I click the Authorize Button I get the "Available authorizations" dialog for selecting the scope(s) as ecpected. The available scopes are defined in code via AddSecurityDefinition.
However, I would like to bypass this dialog and have the scopes automatically selected. If you have 8 or 10 scopes to check everytime you authorize it can become quite annoying in a dev environment. Could anyone advise how to do this or even provide the necessary code\config?
Thanks heaps!
The text was updated successfully, but these errors were encountered: