oauth2 package - pass in scope delimiter character, default to 'a single space #308
Labels
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
P3
A lower priority bug or feature request
package:oauth2
type-enhancement
A request for a change that isn't a bug
Originally opened as dart-lang/sdk#20418
This issue was originally filed by [email protected]
when passing in a list of scopes to get access to for a user the code currently has a hard coded scope delimiter:
if (!scopes.isEmpty) fields["scope"] = scopes.join(' ');
would it be possible to pass in a delimiter character, as I understand it facebook uses a comma rather than a space, so I don't think it is possible to use the oauth2 package to connect with facebook for this reason.
The text was updated successfully, but these errors were encountered: