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
Ruby 3.0 Rails 6.1.4
When trying to apply @authroize_with on specific controller action rather than whole controller, security not created in schema.
Base controller:
# @authorization [bearer] access_token jwt class ApplicationController < ActionController::Base end
Token controller:
# @resource Token class TokensController < ApplicationController ## # Sign in user # # @path [GET] /sign_in def sign_in render(json: {status: 'ok'}) end ## # Sign out user # # @path [GET] /sign_out # @authorize_with access_token def sign_out render(json: {status: 'ok'}) end end
But @authorize_with works if you will place it on controller thus security will be created and for all actions
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ruby 3.0
Rails 6.1.4
When trying to apply @authroize_with on specific controller action rather than whole controller, security not created in schema.
Base controller:
Token controller:
But @authorize_with works if you will place it on controller thus security will be created and for all actions
The text was updated successfully, but these errors were encountered: