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
- Added `InvalidClaimStatusCode` optional config to set the status code of InvalidClaim errors.
19
19
- Added `OverrideGlobalClaimValidators` to options of `getSession` and `verifySession`.
@@ -42,7 +42,145 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
42
42
-`RefreshPOST` now returns a Session container object.
43
43
-`SignOutPOST` now takes in an optional session object as a parameter.
44
44
-`SessionContainer` is renamed to `TypeSessionContainer` and `SessionContainer` is now an alias for `*TypeSessionContainer`. All `*SessionContainer` is now replaced with `SessionContainer`.
45
-
-`SendNon200Response` is renamed to `SendNon200ResponseWithMessage` and `SendNon200Response` takes in a body parameter.
The UserRoles recipe now adds role and permission information into the access token payload by default. If you are already doing this manually, this will result in duplicate data in the access token.
181
+
182
+
- You can disable this behaviour by setting `SkipAddingRolesToAccessToken` and `SkipAddingPermissionsToAccessToken` to true in the recipe init.
183
+
- Check how to use the new claims in the updated guide: https://supertokens.com/docs/userroles/protecting-routes
0 commit comments