주 콘텐츠로 건너뛰기

OAuth Clients

Auth에서
저자 리스트
발표됨: 2023년 10월 16일|최종 업데이트됨: 2023년 10월 16일

One way to get authenticated, to use the API, is via OAuth.

You can create a new OAuth Client from within Deskpro at Admin > Apps & Integrations > OAuth.

Create a new OAuth client

By default, a newly created OAuth client will support the Authorization Code and Implicit grant flows. If you need to inegrate with Deskpro using Auth Code + PKCE then you will need to toggle the isPKCE option when creating the client.

A brief bit about the grant flows.Copy link to A brief bit about the grant flows. to clipboard

The Authorization Code flow is the most commonly used flow in OAuth2. It involves the client application redirecting the user to the authorization server, where the user authenticates and grants authorization to the client application. The authorization server then issues an authorization code to the client application, which can be exchanged for an access token and a refresh token.

The Authorization Code + PKCE flow is a variation of the Authorization Code flow that involves an additional security measure. The client application generates a random value called a code verifier, which is used to create a hashed value called a code challenge. The client application sends the code challenge to the authorization server, along with the authorization request. The authorization server then issues an authorization code that can only be exchanged for an access token if the client application can prove that it has the original code verifier.

The Implicit flow is another OAuth2 flow that is used for client-side web applications. It involves the client application redirecting the user to the authorization server, where the user authenticates and grants authorization to the client application. The authorization server then issues an access token directly to the client application, which can be used to access the protected resource.

도움이 되었습니다도움이 되지 않음

이 페이지가 도움이 된다고 생각하는 사람들의 수 1 / 1

다음 페이지Inbound OAuth
이전 페이지Access Control with Tags

댓글을 작성하려면 로그인하거나 등록하셔야 합니다.