简体   繁体   中英

create a SPA using that connects to Microsoft CRM Dynamics Online trial using Web API?

Is there a way to use create a SPA that connects to Microsoft CRM Dynamics Online trial using Web API? I am not sure how you register the client. as you need an AD that is in an Azure account that is associated to the O365 trial.

If anyone can point me the right direction to achieve this it would be much appreciated.

You're using webservices, AngularJS (as SPA framework) consumes the webservice directly without any need for authentication.
If you want to register the client via login/password authenticaiton , you can use the built-in $interceptor service to inject those credentials into the requests , same for webtokens.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM