You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After successfully logging in, the user object returned is missing the roles attribute.
This is causing this line to throw an error in the react native app: const isAdmin: boolean = user.roles.findIndex(role => role === 'admin') !== -1; (sign-in.service.ts)
The text was updated successfully, but these errors were encountered:
After successfully logging in, the user object returned is missing the
roles
attribute.This is causing this line to throw an error in the react native app:
const isAdmin: boolean = user.roles.findIndex(role => role === 'admin') !== -1;
(sign-in.service.ts)The text was updated successfully, but these errors were encountered: