Web Server Flow 1

GET {{url}}{{site}}/services/oauth2/authorize?response_type=code&client_id={{clientId}}&redirect_uri={{redirectUrl}}&scope=full refresh_token

Request Params

KeyDatatypeRequiredDescription
response_typestring
client_idstring
redirect_uristring
scopestring

RESPONSES

status: OK

"\u003c!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\"\u003e\n\u003chtml\u003e\n\n\u003chead\u003e\n\t\u003cmeta HTTP-EQUIV=\"PRAGMA\" CONTENT=\"NO-CACHE\"\u003e\n\n\n\n\n\n\t\u003cscript\u003e\n\t\tfunction 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'); }  else \nif (window.location.replace){ \nwindow.location.replace('\u003cmy-domain\u003e?ec=302\u0026startURL=%2Fsetup%2Fsecur%2FRemoteAccessAuthorizationPage.apexp%3Fsource%3D\u003ctoken\u003e');\n} else {\nwindow.location.href ='\u003cmy-domain\u003e?ec=302\u0026startURL=%2Fsetup%2Fsecur%2FRemoteAccessAuthorizationPage.apexp%3Fsource%3D\u003ctoken\u003e';\n} \n} \nredirectOnLoad();\n\t\u003c/script\u003e\n\n\u003c/head\u003e\n\n\n\u003c/html\u003e\n\n\n\n\n\n\u003c!-- Body events --\u003e\n\u003cscript type=\"text/javascript\"\u003e\n\tfunction bodyOnLoad(){if(window.PreferenceBits){window.PreferenceBits.prototype.csrfToken=\"null\";};}function bodyOnBeforeUnload(){}function bodyOnFocus(){}function bodyOnUnload(){}\n\u003c/script\u003e\n\n\u003c/body\u003e\n\n\u003c/html\u003e\n\n\n\u003c!--\n...................................................................................................\n...................................................................................................\n...................................................................................................\n...................................................................................................\n--\u003e"