Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiscordのOAuth Prividerを実装 #52

Open
logica0419 opened this issue Aug 23, 2023 · 3 comments
Open

DiscordのOAuth Prividerを実装 #52

logica0419 opened this issue Aug 23, 2023 · 3 comments
Assignees
Labels
backend Backend issues enhancement New feature or request

Comments

@logica0419
Copy link
Member

logica0419 commented Aug 23, 2023

@syuuya-nakatomi syuuya-nakatomi self-assigned this Aug 24, 2023
@logica0419
Copy link
Member Author

@logica0419 logica0419 added backend Backend issues enhancement New feature or request labels Aug 24, 2023
@syuuya-nakatomi
Copy link

  1. discordのアプリケーションを作成して、適当なところにリダイレクトするように設定
  2. スコープが指定されたURLに接続してアカウント連携
  3. 生成されたコードからdiscordのoauthのapiに問い合わせてトークンを取得
  4. トークンでdiscordのusersのapiを叩く
  5. 連携したアカウントの情報が返される
    ↑ここまでできた

@syuuya-nakatomi
Copy link

あとはstateを付与して実装したい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants