I put my hands on the jade templates for the customization of a dev portal this morning. The CMS approach slows the integration into our global monetization logic. I would prefer coding an independant frontend, that would be not handled by the tyk dashboard.
Do the different APIs of tyk-dashboard would allow me to validate a login/password and get the corresponding user id, organisation id, api keys ? I did find answers of how to manage keys, policies, user profile etc. using the tyk APIs as soon as I get those basics info, but I did not find how to get them from an independant website (that would be our custom dev portal).
Is tyk allow that kind of thing ? How could we do that ?
In brief : I know that we can do everything the dashboard does thanks to the Tyk APIs. Everything seems to be in the Tyk Rest Api, Tyk dashboard API and Dashboard admin API docs, except how to manage developper connexions from outside Tyk.
I imagine something like a http POST to a Tyk endpoint with a dev login / password from my web app (our external dev portal), and in case of success, get its id, organisation id etc. Then I would be able to manage everything concerning his account with the Tyk APIs (from the web app).
Do I have to write my own auth service ? If yes, should It use the Tyk /api/portal/developers endpoint ? Direct mongodb query ?
Thank you in advance for your precious help,
Xavier
It may be trivial, but for people like me that are not used to work with mongodb, here is an example of a login webservices for tyk analytics in php (using the mongodb driver) :