Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Who Me Too'd this topic

Having an issue with user trying to agree to Spotify's terms and conditions

I am trying to allow users to login to their Spotify account on my flutter app. I am following the flow given in the Spotify docs (https://developer.spotify.com/documentation/web-api/tutorials/code-pkce-flow).
When the user has to accept the terms and conditions and allow permission, on clicking the agree button, I get the following error in my code:  PlatformException(CANCELED, User canceled login, null, null).
I am using the flutter_web_auth to open the login page.

 

`try {
final result = await FlutterWebAuth.authenticate(
url: url, callbackUrlScheme: 'soundrise.page.link');
print(result);
} on PlatformException catch (e) {
print(e);
}`

How to resolve this issue?
Who Me Too'd this topic