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
The situation is this: I've built an api over an existing DB that has another backend. Now I need to add authentication for some routes.
There is already a jwt based authentication on the other backend. The problem is that if i change to oat driver, it requires me to add a tokenProvider. The tokens are not added to the database and i am not able to add them. How can this be circumvented? I am just looking to validate the jwt token + get the user from db.
I would like to use the adonis auth because I want to use the bouncer feature also
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The situation is this: I've built an api over an existing DB that has another backend. Now I need to add authentication for some routes.
There is already a jwt based authentication on the other backend. The problem is that if i change to oat driver, it requires me to add a tokenProvider. The tokens are not added to the database and i am not able to add them. How can this be circumvented? I am just looking to validate the jwt token + get the user from db.
I would like to use the adonis auth because I want to use the bouncer feature also
Beta Was this translation helpful? Give feedback.
All reactions