We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HI I'm trying to get basic security working.
I started with the following security definition:
securityDefinitions: UserSecurity: type: basic #in: header #name: X-Access-Token x-authorize: security/userSecurity.js
and in the path I added:
security: - UserSecurity: []
If I try to access this path, I see that it fails if (thing.isFunction(security[type].authorize)) {
if (thing.isFunction(security[type].authorize)) {
At this point my security type does not contain an authorize function
I tried adding the lines as described in the documentation
# # Security # securityDefinitions: UserSecurity: type: basic x-authorize: /security/userSecurity.js scopes: - user:all
This does not work because scopes is not allowed for basic
# # Security # securityDefinitions: UserSecurity: x-authorize: /security/userSecurity.js scopes: - user:all
This does not work because type is mandatory.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
HI I'm trying to get basic security working.
I started with the following security definition:
and in the path I added:
If I try to access this path, I see that it fails
if (thing.isFunction(security[type].authorize)) {
At this point my security type does not contain an authorize function
I tried adding the lines as described in the documentation
This does not work because scopes is not allowed for basic
This does not work because type is mandatory.
The text was updated successfully, but these errors were encountered: