pocketbase / dart-sdk

PocketBase Dart SDK
https://pub.dev/packages/pocketbase
MIT License
511 stars 51 forks source link

authWithOAuth2() lacks some parameters that authWithOAuth2Code() have #62

Closed kaboc closed 1 day ago

kaboc commented 1 day ago

I'm thinking of adding the app info (platform and version) to the request header, but authWithOAuth2() does not have the headers parameter. I'm not sure if there is any reason for that, but if it is not impossible, it'd be great if it would be added, together with body and query that are also missing.

ganigeorgiev commented 1 day ago

I've added the extra arguments in v0.19.0-rc3.

kaboc commented 1 day ago

Wow, so quick! Thank you as always.