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

[Auth] Spotify Web APIのアクセストークンを読み書きする処理を実装 #11

Closed
4 tasks done
p1ass opened this issue Apr 16, 2020 · 1 comment
Closed
4 tasks done
Labels

Comments

@p1ass
Copy link
Member

p1ass commented Apr 16, 2020

概要

OAuth成功時にアクセストークンをMySQLに保存する

要件

  • 既存ユーザのアクセストークンを更新できる
  • 新規ユーザの場合は、usersテーブルも同時に作成する
  • API呼び出し時にアクセストークンを取得できる

タスク

  • アクセストークンを保存できるテーブル設計を考える
  • 読み書き用のリポジトリを作成
  • /callback のエンドポイントから保存する処理を呼ぶ
  • middlewareでトークンを取得する処理を追加
@p1ass p1ass added the feature label Apr 16, 2020
@p1ass p1ass changed the title [Auth] Spotify Web APIのアクセストークンを保存する処理を実装 [Auth] Spotify Web APIのアクセストークンを読み書きする処理を実装 Apr 23, 2020
@p1ass
Copy link
Member Author

p1ass commented Apr 25, 2020

終わったのでclose

@p1ass p1ass closed this as completed Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant