How to authenticate admin-api from another app. #1565
Replies: 3 comments 3 replies
-
Hi, Yes, this is exactly the login flow used by human admins too. You said your app won't have such functionality but I just though it's worth mentioning that it's totally possible without human intervention. If you cannot do this, then another option is to create custom queries/mutations specifically for this app to use, and do not restrict them with the |
Beta Was this translation helpful? Give feedback.
-
Thanks for your quick reply! |
Beta Was this translation helpful? Give feedback.
-
As far as i understood with auth strategy i will have to call authentication query to authenticate user, erc. But is there any way to do something similar to what passport.js does:
some custom middleware that will validate auth token. |
Beta Was this translation helpful? Give feedback.
-
I would like to connect to the admin api from another app which won't have any sign-in functionality for admin api. Is there any way to use just an api token from another server? What is the best way to do this?
Beta Was this translation helpful? Give feedback.
All reactions