Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Latest commit

 

History

History
90 lines (58 loc) · 2.27 KB

File metadata and controls

90 lines (58 loc) · 2.27 KB
name description layout order published showInNav title sidebarLayoutSecondaryColumn sidebarLayoutPrimaryColumn bootstrap_container markdown
Authorization Code Flow
The Authorization Code Flow is appropriate for applications that the user logs into once. Since this flow involves an exchange of your **Application secret* for an access token, it is suitable for applications than run from secure locations such as server-side web application or back-end service.
layout-tutorial
100
true
true
Authorization Code Flow
col-lg-2 col-md-3 col-sm-12 sidebar-tutorial
col-lg-8 col-md-8 col-sm-12
bg-tutorial
false

{{ include stache.config.partial_header_comments }}{{ include stache.config.partial_header_edit }}

{{ name }}

  • Introduction

    {{ include 'includes/authcodeflow/intro.md' }}

  • Step 1 – Request authorization

    {{ include 'includes/authcodeflow/step1.md' }}

  • Step 2 – User authorization

    {{ include 'includes/authcodeflow/step2.md' }}

  • Step 3 – User is redirected back

    {{ include 'includes/authcodeflow/step3.md' }}

  • Step 4 – Request tokens

    {{ include 'includes/authcodeflow/step4.md' }}

  • Step 5 – Tokens returned

    {{ include 'includes/authcodeflow/step5.md' }}

  • Step 6 – Call the {{ stache.config.api_type_name }}

    {{ include 'includes/authcodeflow/step6.md' }}

  • Step 7 – Refresh access token

    {{ include 'includes/authcodeflow/step7.md' }}

  • Step 8 – Next steps

    {{# markdown }} For more information on implementing the authorization code flow, check out our [code samples]({{ stache.config.guide_web_api_authorization_auth_code_flow_tutorial_home }}). {{/ markdown }}

{{ include stache.config.partial_disqus }}