Comments (3)
Can you share the route config and the full exception backtrace from log?
from api_guard.
Hey @Gokul595,
Of course, here your are:
The route config:
Rails.application.routes.draw do
constraints subdomain: "api" do
.....
api_guard_routes for: "users", only: [:tokens]
.....
scope module: "api", defaults: { format: "json" } do
.....
resource :sessions, only: [:create, :destroy, :show]
.....
end
end
end
Here is a gist with the logs https://gist.github.com/vddgil/efd7dea8b307255c1695eddf1a15d090
Thanks a lot!
from api_guard.
Ok, found the issue.
I still have devise-jwt Gem in my app. It was trying to do something in an after action.
Sorry for that, but it's working now :)
Thanks a lot !
from api_guard.
Related Issues (20)
- Expiring Refresh Tokens HOT 9
- authenticate_and_set_user without restricting access HOT 2
- Guest access without bearer token HOT 1
- POST data to sign_up doubt HOT 2
- ActionCable support? HOT 6
- [Question] How to set a cookie in authentication response? HOT 1
- How to map to Users::User? HOT 3
- Is there any way to implement HTTP Only Cookies? HOT 9
- Ability to turn off routes / feature such as deleting accounts HOT 1
- How to issue a token outside api guard default controllers HOT 2
- Rails 6.1 undefined method 'day' for 1:Integer HOT 2
- Ability to not only change password but also to reset forgotten password
- How to send a new access token to the browser before the old access token expire? HOT 1
- Error when use nested routes like /api/v1/api_guard HOT 2
- Could we extend to use public/private keys? HOT 1
- refresh tokens is not set in the headers
- Add posibility to refresh expired access token HOT 4
- Avoid creating new refresh token when retrieving new access token HOT 1
- Is this project still maintained HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api_guard.