-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAuth for the Web API #6
Comments
@lucasstark you are referring to OAuth client authentication, which is not quite the purpose of the library. While we may add that in the future, in the initial release we primarily target S2S authentication which uses client credentials grant. However, you can provide your own implementation of OnlineAuthMiddleware implementation with authorisation code grant, which looks like what you're after. You can try using existing third-party libraries, e.g. OAuth2. HTH |
@georged: May I ask, how much time do you need to implement this feature? From my humble understanding it seems this feature is quite important on business level, if your company uses features like SSO for all internal webapps. |
@SynedatPranke it's not the question of time, it's the question of supply and demand. Yes, it'd be important for SSO however implementations of internal webapps using php is not that common in our experience. (Of course, I'm making a broad assumption that a company specializing in PowerApps / Dynamics 365 / CRM is most likely a .NET shop) The most common scenario is an externally facing web site in WordPress, Drupal, Joomla that needs access to CDS / Dynamics 365 data. In this scenario S2S authentication is more appropriate. For example, we use the library in the upcoming version of the WordPress plugin (current version uses SOAP toolkit). |
I am getting the Message: Metadata request returned a 403 code while fetching record. Can you please suggest what am i missing ? $settings = new \AlexaCRM\WebAPI\OData\OnlineSettings();
|
Otherwise I'd suggest wiring up logging to see more details about the error. |
Same to me, i did everything stated here |
Please start separate issues on the auth issues. This issue is about SSO in AD environments. |
I'm wondering if OAuth for the Web API can be used here, and if so, any example of how one might get started doing that would be greatly appreciated!
Basically looking for the PHP version of: https://msdn.microsoft.com/en-us/library/gg327838.aspx
Thanks in advance.
The text was updated successfully, but these errors were encountered: