I think I won’t be able to get the login_token because an authentication request will be required, prior to getting a response from one of the endpoints. In this case, the login request. Example:
Would you be open to setting up a Secret Parameter that would represent all users coming from Mashape, to your API? This would bypass registration to your site because all users will be using that preset account (e.g. 1 account named Mashape in Docket Alarm). Please click here to see how this works - http://blog.mashape.com/post/50590118603/new-feature-secret-parameter-and-headers
Let me know if you have questions on how this can be implemented - c h r i s @ m a s h a p e . c o m
Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:
Hi Chris,
I see how the system works, thanks for explaining. Right now, users must still register on the site and use their own credentials. I have, accordingly, removed the authentication token.