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
services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
{
// base-address of your identityserver
options.Authority = "cms.abc.com";
// name of the API resource
options.Audience = "api1";
});
However, It doesn't work.
I'm taking a look at the openiddict.
But I would be great if there is any guide, documentation or direction for this case.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My scenario. I have two site:
In the documentation, https://docs.orchardcore.net/en/dev/docs/reference/modules/OpenId/#token-validation
It gives a quick summary of Validates tokens issued by the Orchard OpenID server.
But It doesn't guide us:
I tried to use the JwtBearer package & borrow the idea from the Identity Server here: https://docs.identityserver.io/en/3.1.0/topics/apis.html.
However, It doesn't work.
I'm taking a look at the openiddict.
But I would be great if there is any guide, documentation or direction for this case.
Beta Was this translation helpful? Give feedback.
All reactions