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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,6 @@ Set your `appsettings.json` file with this values:
80
80
81
81
```json
82
82
"AppJwtSettings": {
83
-
"Issuer": "https://my-application.com",
84
83
"Audience": "MyApplication.Name"
85
84
}
86
85
```
@@ -89,9 +88,10 @@ It's possible to configure some aspects of token
89
88
|Key|Meaning|Default
90
89
|--|--|---|
91
90
|Expiration| Expiration time (in hours) | 1 |
92
-
|Issuer| The name of the JWT issuer | NetDevPack.Identity|
93
-
|Audience|The domain that the JWT will be valid | Api|
91
+
|Issuer| The party that "created" the token and signed it with its private key. Usually the application Url | Get current root Url from `HttpContext`|
92
+
|Audience|API's that should accept the token. E.g your application Main name. | NetDevPack|
94
93
|RefreshTokenExpiration | Refresh token expiration (In Days) | 30 |
94
+
|RefreshTokenType |`OneTime` or `ReUse`| 30 |
95
95
|SecretKey `Deprecated`| Is your key to build JWT. **Read notes**| Do not use it |
96
96
97
97
>**Note:** Now we are using [NetDevPack.Security.Jwt](https://github.com/NetDevPack/Security.Jwt) to generate and Store your keys. It generate a RSA 2048 by default. You can check the project for more info.
0 commit comments