大家好,我在反应中使用 firebase 身份验证,并使用 express js 服务器来保存用户凭据我如何管理角色(授权)?我确实在每个请求中发送了要在后端验证的 firebase 令牌。
我不知道我是否应该添加另一个令牌来解码它上面的角色?