使用 firebase 令牌授权

问题描述 投票:0回答:0

大家好,我在反应中使用 firebase 身份验证,并使用 express js 服务器来保存用户凭据我如何管理角色(授权)?我确实在每个请求中发送了要在后端验证的 firebase 令牌。

我不知道我是否应该添加另一个令牌来解码它上面的角色?

javascript reactjs authentication firebase-authentication authorization
© www.soinside.com 2019 - 2024. All rights reserved.