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
feat(refresh_token): rotate refresh tokens if configured to rotate (#645)
* will return a new unique refresh token on refres_token grant if rotateRefreshToken is true
* potientially breaking change as the constructor params for OAuth2Config has changed
|`interactiveLogin`|`true` or `false`, enables login screen when redirecting to server `/authorize` endpoint |
290
-
|`loginPagePath`| An optional string refering to a html file that is served as login page. This page needs to contain a form that posts a `username` and optionally a `claims` field. See `src/test/resource/login.example.html` as an example. |
291
-
|`staticAssetsPath`| The path to a directory containing static resources/assets. Lets you serve your own static resources from the server. Resources are served under the `/static` URL path. E.g. http://localhost:8080/static/myimage.svg or by reference `/static/myimage.svg` from the login page. ||
292
-
|`httpServer`| A string identifying the httpserver to use. Must match one of the following enum values: `MockWebServerWrapper` or `NettyWrapper`|
293
-
|`tokenCallbacks`| A list of [`RequestMappingTokenCallback`](src/main/kotlin/no/nav/security/mock/oauth2/token/OAuth2TokenCallback.kt) that lets you specify which token claims to return when a token request matches the specified condition. |
|`interactiveLogin`|`true` or `false`, enables login screen when redirecting to server `/authorize` endpoint |
290
+
|`loginPagePath`| An optional string refering to a html file that is served as login page. This page needs to contain a form that posts a `username` and optionally a `claims` field. See `src/test/resource/login.example.html` as an example. |
291
+
|`staticAssetsPath`| The path to a directory containing static resources/assets. Lets you serve your own static resources from the server. Resources are served under the `/static` URL path. E.g. http://localhost:8080/static/myimage.svg or by reference `/static/myimage.svg` from the login page. ||
292
+
|`rotateRefreshToken`|`true` or `false`, setting to true will generate a new unique refresh token when using the `refresh_token` grant. |
293
+
|`httpServer`| A string identifying the httpserver to use. Must match one of the following enum values: `MockWebServerWrapper` or `NettyWrapper`|
294
+
|`tokenCallbacks`| A list of [`RequestMappingTokenCallback`](src/main/kotlin/no/nav/security/mock/oauth2/token/OAuth2TokenCallback.kt) that lets you specify which token claims to return when a token request matches the specified condition. |
0 commit comments