appsup-dart / firebase_admin

A pure Dart implementation of the Firebase admin sdk
Other
44 stars 51 forks source link

ServiceAccountMockCredential contains bad formatted access token #20

Closed timalenustmf closed 3 years ago

timalenustmf commented 3 years ago

The ServiceAccountMockCredential class contains an access token mock-access-token (line 38 in test.dart) However access tokens should be in the JSON webtoken ( RFC 7519) standard format. mock-access-token does not following this formatting standard, hence it's being rejected when trying to use the ServiceAccountMockCredentials in a unit test.

rbellens commented 3 years ago

fixed in version 0.2.0-dev.2