nhost / hasura-auth

Authentication for Hasura.
https://nhost.io
MIT License
382 stars 114 forks source link

fix: dont crash if users have no roles when refreshing token #511

Closed dbarrosop closed 5 months ago

dbarrosop commented 5 months ago

For some strange reason I don't understand some users have users without any "allowed roles". This shouldn't happen but, in any case, this should avoid crashing in such cases.