Skip to content

Commit

Permalink
urlencode
Browse files Browse the repository at this point in the history
  • Loading branch information
riverscuomo committed Jul 12, 2024
1 parent 9658f3d commit d0916da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ void initState() {

void _initiateSpotifyLogin() {
final spotifyAuthUrl = Uri.https('accounts.spotify.com', '/authorize', {
'client_id': clientId,
'client_id': Uri.encodeFull(clientId),
'response_type': 'code',
'redirect_uri': redirectUri,
'scope': scope,
'redirect_uri': Uri.encodeFull(redirectUri),
'scope': Uri.encodeFull(scope),
});

print('Redirecting to: $spotifyAuthUrl');
Expand Down

0 comments on commit d0916da

Please sign in to comment.