【发布时间】:2017-01-04 13:20:19
【问题描述】:
成功登录 Firebase 后,我们收到了一个 JWT 令牌。
为了向我的 asp.net 应用程序添加授权,我尝试将 JwtBearerAuthentication 添加到我的中间件。
我尝试了以下 JwtBearerOptions:
var options = new JwtBearerOptions
{
Audience = "myApp",
Authority = "https://securetoken.google.com"
};
和
var options = new JwtBearerOptions
{
Audience = "myApp",
Authority = "https://securetoken.google.com/myApp"
};
不幸的是,这不起作用。我的授权 URL 可能不正确。
有人知道哪个权威网址是正确的吗?
【问题讨论】:
标签: c# firebase asp.net-core jwt firebase-authentication