appwrite / sdk-for-flutter

[READ-ONLY] Official Appwrite Flutter SDK 💙
https://appwrite.io
BSD 3-Clause "New" or "Revised" License
369 stars 110 forks source link

🚀 Feature: Return cookie with the fuction createOAuth2Session #178

Open hortigado opened 1 year ago

hortigado commented 1 year ago

🔖 Feature description

Hello, I don't really know how to make a pull request on Github. But you could add these simple lines so that the createOAuth2Session function returns the cookie in Flutter. The same could be applied for createEmailSession. Thanks, this is useful when using external packages, for example in my case, or to implement offline first

🎤 Pitch

client_io.dart image client.dart image

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?

hortigado commented 1 year ago

For createEmailSession() example

image image On my app i get cookie of Session Model

image