Skip to content

Instantly share code, notes, and snippets.

@vaygeth89
Last active November 17, 2020 19:28
Show Gist options
  • Save vaygeth89/a7229902688d324e2b00df0b7aaa6384 to your computer and use it in GitHub Desktop.
Save vaygeth89/a7229902688d324e2b00df0b7aaa6384 to your computer and use it in GitHub Desktop.
tutorial-dotnet-JWTProtectedAPI
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"jwtBearerTokenSettings": {
"SecretKey": "whatevermysecretkeyitiskeepitsecret",
"Audience": "https://localhost:5000/",
"Issuer": "https://localhost:5000/",
"ExpiryTimeInMinutes": 120
},
"ConnectionStrings": {
"SqlServerDb": "Server=YOURPC;Database=JWTProtectedAPI;Trusted_Connection=True;"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment