raznikk/curl-adfs-auth

Please update the docs to include a plausible URL

Opened this issue · 0 comments

rduz commented

Hi,

I'm attempting to connect to my CRM through your script. CRM is 2013 IFD and ADFS. I definitely get the created, expires, and the encrypted token. I can't get the final curl to succeed, however.

I've tried the following app uris:

URL=${APPURI}/XRMServices/2011/OrganizationData.svc: The URL representing the root of the service only supports GET requests.

URL=${APPURI}/orgtest/XRMServices/2011/OrganizationData.svc: The URL representing the root of the service only supports GET requests.

URL=${APPURI}/orgtest/XRMServices/2011/OrganizationData.svc/AccountSet: The content type 'application/x-www-form-urlencoded' is not supported.

URL=${APPURI}: An error has occurred. Please return to the home page and try again.

URL=${APPURI}/orgtest: 404 - File or directory not found.

and several others, as well as trying various content types like application/json or application/soap+xml

What's an example of a URL that should work?

Thank you!

Regards,
Rich