Skip to content

Commit

Permalink
Add new OAuth2 scopes (OIDC)
Browse files Browse the repository at this point in the history
  • Loading branch information
motoki317 committed May 8, 2024
1 parent 3f5c520 commit bb7e410
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/clientScope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ export const scopeInfoMap: Record<
OAuth2Scope,
{ name: string; permissions: string[] }
> = {
[OAuth2Scope.Openid]: {
name: 'ユーザーID取得',
permissions: ['traQ IDの取得']
},
[OAuth2Scope.Profile]: {
name: 'プロフィール取得',
permissions: ['自ユーザー情報の取得']
},
[OAuth2Scope.Read]: {
name: 'データの読み取り',
permissions: [
Expand Down

0 comments on commit bb7e410

Please sign in to comment.