YM REST Services

<back to all web services

SocialOAuth

The following routes are available for this service:
GET/Ams/SocialOAuth/{Provider}Communicates to Social providers for Single Sign On.
SocialOAuth Parameters:
NameParameterData TypeRequiredDescription
ContinuequerystringNo
ProviderpathstringNo
ReturnUrlquerystringNo
UseReturnUrlqueryboolNo
codequerystringNo
statequerystringNo
error_reasonquerystringNo
errorquerystringNo
error_codequerystringNo
error_descriptionquerystringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Ams/SocialOAuth/{Provider} HTTP/1.1 
Host: ws.yourmembership.com 
Accept: application/json