-
Notifications
You must be signed in to change notification settings - Fork 1
Spotify Access Token 리프레쉬
Hwanhee "Asher" Kim edited this page Nov 26, 2024
·
1 revision
sequenceDiagram
participant App as 앱
participant Server as 서버
participant Spotify as Spotify
App->>Server: 1. POST: Session ID로 Access Token 요청
note over Server: 2. Session ID 검증
Server->>Spotify: 3. POST [토큰 요청]<br/>(https://accounts.spotify.com/api/token)
Spotify->>Server: 4. 응답 [Access Token, Refresh Token (선택적)]
note over Server: 5. Session ID 연장<br/> 및 Refresh Token 저장 (선택적)
Server->>App: 6. 응답 [Access Token 전달]
note over App: 7. Key Chain에 Access Token 저장