After a successful sign-in to Firebase we received a JWT token.
In order to add authorization to my asp.net app, I tried to add a JwtBearerAuthentication to my middleware.
I have tried the following JwtBearerOptions :
var options = new JwtBearerOptions
{
Audience = "myApp",
Authority = "https://securetoken.google.com"
};
and
var options = new JwtBearerOptions
{
Audience = "myApp",
Authority = "https://securetoken.google.com/myApp"
};
Unfortunately this is not working. My Auhtority url is probably incorrect.
Does anyone know wich Auhtority url is correct?
The JWT validation need to be manual : source
The following code is validating the FirebaseToken (JWT) :