Hi Benas. Thanks for this code but Do you know how to request ajax from another app to pass authentication. And how to call /Authentication/PostLogin properly, how parameters looks like ?
I have been using this for quite some time now.
Probably not the best code, but works well
after having logged I then call other umbraco apis to get contents
Secure Umbraco WebAPI by using member credential
Hi all,
I want to expose an api that return a list of product list in umbraco node to another application (App B).
For example:
How to allow app B is able to pass authorization by providing username and password of Umbraco members ?
It looks like we have to this Umbraco built-in authentication api: http://myapp.com /umbraco/backoffice/UmbracoApi/Authentication/PostLogin
But I dont know how to set header for next request. Thanks
Try this.
Hi Benas. Thanks for this code but Do you know how to request ajax from another app to pass authentication. And how to call /Authentication/PostLogin properly, how parameters looks like ?
Thanks
I have been using this for quite some time now. Probably not the best code, but works well after having logged I then call other umbraco apis to get contents
is working on a reply...