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
For those looking to do this, here is what Ive done to make it work
def authenticate_user!
if request.headers['Authorization'].present?
authenticate_devise_api_token!
@current_user = current_devise_api_user
else
super
end
end
def verify_authenticity_token
super if request.headers['Authorization'].blank?
end
Thanks in advance
The text was updated successfully, but these errors were encountered: