-
Notifications
You must be signed in to change notification settings - Fork 1
login용 일회용 code 획득
Hwanhee "Asher" Kim edited this page Nov 26, 2024
·
1 revision
sequenceDiagram
participant User as 사용자
participant App as 앱
participant Server as 서버
participant Spotify as Spotify
App->>Server: 1. GET: 로그인 요청<br/>(http://localhost:8000/login)
Server->>Spotify: 2. 리다이렉트 [인증 요청]<br/>(https://accounts.spotify.com/authorize)
Spotify->>User: 3. 권한 요청 화면 표시
User->>Spotify: 4. 권한 승인
Spotify->>Server: 5. GET: 일회용 code 전달<br/>(http://localhost:8000/callback)
Server->>App: 6. 리다이렉트 [일회용 code 전달]<br/>(com.kimhappy.musicwith://callback)