get Authorization Url
fun getAuthorizationUrl(vararg scopes: SpotifyScope, redirectUri: String, state: String? = null): String(source)
Create a Spotify authorization URL from which client access can be obtained
Return
Authorization URL that can be used in a browser
Parameters
scopes
The scopes that the application should have access to
redirect Uri
The redirect uri specified on the Spotify developer dashboard; where to redirect the browser after authentication
state
This provides protection against attacks such as cross-site request forgery.