hoodiehq / hoodie-account-client

:dog: Account client API for the browser
https://hoodiehq.github.io/hoodie-account-client
Apache License 2.0
11 stars 24 forks source link

signIn() does not store the roles property #156

Open gr2m opened 7 years ago

gr2m commented 7 years ago

we currently selectively read out the username only, see https://github.com/hoodiehq/hoodie-account-client/blob/d3f86.

Ideally we should implement this more generic, there are also properties like createdAt, signedUpAt, updatedAt and maybe more in future. But I wouldn't mind to take a PR to fix the roles issue first and do a more generic solution later