dumb11
dumb11

Reputation: 129

What is the use of JwtIssuerOptions in appsetting?

"JwtIssuerOptions": {
    "Issuer": "webApi",
    "Audience": "http://localhost:4200/"
}

What does it do exactly? Where is the WebApi from?

Upvotes: 0

Views: 635

Answers (1)

YankTHEcode
YankTHEcode

Reputation: 652

It’s probably being used to validate id token claims that are used in authentication. Issuer is the identity provider meaning the api that issues the token. Audience is the api for which this token is for, it will be this api In question.

Upvotes: 1

Related Questions