What is the best way to enable server to server authentication to the CI API.
Thanks
Hello there,
Yes, you are able to use OAuth with your code.
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/authenticate-oauth
Hope above link helps you to understand this.
This might help you:
dev.to/.../create-a-rest-api-in-codeigniter-with-basic-authentication-1e7f
It explains the basic authentication method with code example.
Regards.
Not really what I had in mind. I need to call CI REST API methods from custom MVC application. Is there a way to assign OAuth client grant or use a security principal, all the sample I've seen are authenticated via user account.
Hello Rangerforme,
The best way is use application user as explained here:
docs.microsoft.com/.../solutions-overview
Regards,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156