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
So I want to add authorization. But problem is in fact that it will currently not applied to any of endpoints when making swagger requests. To add it, I need to specify "rootSecurity": [{ "AuthorizationHeader": []}] and then provide AuthorizationModule, while authorization is done externally via lambda auth.
Question is how to provide authorization schema and apply globally without need to implement it?
Context (Environment)
Version of the library: 6.2.0
Version of NodeJS: 20.12.2
The text was updated successfully, but these errors were encountered:
Sorting
I'm submitting a question or possibly feature request.
I confirm that I
Expected Behavior
Suppose I have
tsoa.json
:So I want to add authorization. But problem is in fact that it will currently not applied to any of endpoints when making swagger requests. To add it, I need to specify
"rootSecurity": [{ "AuthorizationHeader": []}]
and then provideAuthorizationModule
, while authorization is done externally via lambda auth.Question is how to provide authorization schema and apply globally without need to implement it?
Context (Environment)
Version of the library: 6.2.0
Version of NodeJS: 20.12.2
The text was updated successfully, but these errors were encountered: