Salesforce

Setting up OAuth 2.0 - Difference between authorization code flow and implicit flow

Article Information
 
Inhoud van het artikel
This article is part of the article serieĀ Setting up OAuth 2.0 - Introduction

There are two flows that you can use for connecting to Twinfield using OAuth 2.0:
  • The authorization code flow
  • The implicit flow
The main difference between the two is that the authorization code flow will give you unlimited access to the end users account for 25 years and the implicit flow will only give you access for 12 hours.

Implicit flow
Use the implicit flow for native and JavaScript based clients.

Authorization code flow
Use the authorization code flow if your client has some server-side back-end part. You absolutely need to have such back-end because authorization code flow requires usage of client secret to obtain tokens and you cannot store such secrets securely on front-end part of your application.
detail information
19-12-2021 21:05
Setting up OAuth 2.0 - Difference between authorization code flow and implicit flow
554
URL
Setting-up-OAuth-2-0-Difference-between-authorization-code-flow-and-implicit-flow

Powered by