User Agent Flow
GET {{url}}{{site}}/services/oauth2/authorize?response_type=token&client_id={{clientId}}&redirect_uri={{redirectUrl}}&display=touch&login_hint&nonce=awesome
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
response_type | string | ||
client_id | string | ||
redirect_uri | string | ||
display | string | ||
login_hint | null | ||
nonce | string |
RESPONSES
status: OK
"\n\n\n\u003c!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\"\u003e\n\u003chtml\u003e\n \u003chead\u003e\n \u003cmeta HTTP-EQUIV=\"PRAGMA\" CONTENT=\"NO-CACHE\"\u003e\n \u003cscript\u003e\nfunction redirectOnLoad() {\nif (this.SfdcApp \u0026\u0026 this.SfdcApp.projectOneNavigator) { SfdcApp.projectOneNavigator.handleRedirect('\u003cmy-domain\u003e?ec=302\u0026startURL=%2Fsetup%2Fsecur%2FRemoteAccessAuthorizationPage.apexp%3Fsource%3D\u003ctoken\u003e%26display%3Dtouch\u0026display=touch'); } else \nif (window.location.replace){ \nwindow.location.replace('\u003cmy-domain\u003e\u003e?ec=302\u0026startURL=%2Fsetup%2Fsecur%2FRemoteAccessAuthorizationPage.apexp%3Fsource%3D\u003ctoken\u003e%26display%3Dtouch\u0026display=touch');\n} else {\nwindow.location.href ='\u003cmy-domain\u003e\u003e?ec=302\u0026startURL=%2Fsetup%2Fsecur%2FRemoteAccessAuthorizationPage.apexp%3Fsource%3D\u003ctoken\u003e%26display%3Dtouch\u0026display=touch';\n} \n} \nredirectOnLoad();\n\u003c/script\u003e\n \u003c/head\u003e\n\u003c/html\u003e\n\u003c!-- Body events --\u003e\n\u003cscript type=\"text/javascript\"\u003efunction bodyOnLoad(){if(window.PreferenceBits){window.PreferenceBits.prototype.csrfToken=\"null\";};}function bodyOnBeforeUnload(){}function bodyOnFocus(){}function bodyOnUnload(){}\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n\u003c!--\n...................................................................................................\n...................................................................................................\n...................................................................................................\n...................................................................................................\n--\u003e\n"