darwin-morocho / flutter-facebook-auth

A flutter plugin to add login with facebook in your flutter app
191 stars 124 forks source link

Ask for a new scope. #371

Closed rebindev closed 3 months ago

rebindev commented 5 months ago

What version are you using?

6.0.3

What OS and version are you using to local deploy your application?

ios 14

What platforms are you seeing the problem on?

Android, iOS, web

pubspec.yaml

---

Describe the Bug

Hello, Thank you for the great plugin i have a question. Is it possible to ask for permission again or re-request for a denied permission for example if email is not granted by user to be able to start login flow with the scope. As it is available on the web. Like

https://www.facebook.com/v18.0/dialog/oauth? client_id={app-id} &redirect_uri={redirect-uri} &auth_type=rerequest scope=email

Expected Behavior

--

To Reproduce

--

Relevant log output

No response

flutter doctor -v

--

Info.plist (iOS)

No response

Podfile (iOS)

No response

AndroidManifest.xml

No response

MainActivity.java

No response

MainActivity.kt

No response

index.html

No response

Info.plist (macOS)

No response

darwin-morocho commented 3 months ago

Yes, It is. The only thing that you need to do is call to the login function with the new permissions