This release introduces major improvements to claim transformation, impersonation, session handling, and application context in FoxIDs. New capabilities include impersonation with full session and audit support, application request parameters, _session: claims, targeted user and Claims API lookups, and preservation of JSON claim value types across authentication flows.
It also strengthens security with protected claims, improves internal claim handling, reduces session cookie size by moving shared session data to the database, and improves SAML single logout consistency.
The release also removes the long-obsolete up_party and up_party_type claims. Applications and integrations still using these legacy claims must migrate to auth_method and auth_method_type.
Phasing out
Removal of obsolete authentication method claims
The legacy up_party and up_party_type claims, including their SAML equivalents, have been marked obsolete since FoxIDs 1.3.0 (11 March 2024). Their built-in support has now been removed.
This is a breaking change only if your applications, claim transforms or integrations still depend on the legacy names. No action is required if you already use the current claims.
Use these JWT claims:
| Legacy claim |
Current claim |
Value |
up_party |
auth_method |
Authentication method name |
up_party_type |
auth_method_type |
Authentication method type |
For SAML, the replacements under http://schemas.foxids.com/identity/claims/ are:
upparty → authmethod
uppartytype → authmethodtype
The current claims identify the last authentication method used.
New Features and Improvements
Impersonation
Added an Impersonation claim transform for authentication methods. Applications receive the target user's identity and an act claim identifying the original authenticated user.
Load the target through an internal user query, a Claims API, or both. Configure claim transforms to check the authenticated user's permission and any requirements for the target before selecting impersonation.
Use a _session: claim to retain the target reference, and configure transforms to reload and check the target at each application login. Starting, changing or ending impersonation changes the sid and revokes the previous active session and refresh token grants. Continuing with the same target retains the session ID.
For linked internal target accounts, account disablement, deletion and Access Structure access revocation also apply to the impersonated session. The Control Client and Control API show the original and impersonated users in active sessions and refresh token grants. Audit events record when impersonation starts, changes or ends.
Application request parameters
Applications can now pass request parameters to claim transforms as _local:params:{name} claims. Configure Allowed request parameters on the application registration, for example profile_id or departments. Space-separated values automatically produce multiple claims.
Supported requests include OpenID Connect authorisation, SAML 2.0 and WS-Federation sign-in, and OAuth 2.0 / OpenID Connect client credentials and token exchange.
During browser login, parameters are available from authentication-method first-level transforms through Extended UI and application transforms. Map a parameter to a _session: claim when its value should be retained for subsequent application logins.
Session claims
Added _session: claims for retaining values for the same authenticated user across application logins through the same authentication method.
Session claims are restored before first-level claim transforms, remain available through Extended UI, and are saved after successful second-level transforms. They are bound to the original authenticated user and follow the authentication method's session lifetime. Sessions must be enabled; they are enabled by default.
Copy a session value to an _internal: claim when it is needed in application transforms. Session claims are not issued in tokens or assertions.
Targeted claims from user queries and Claims API
Added an optional Target to Query internal user and External claims API tasks. Selected claims are loaded into a local namespace, such as _local:target:sub and _local:target:email, for subsequent checks and transforms.
Multiple queries and API calls can populate the same target using the existing Add and Replace actions. An internal user query with a Target retains the login's original local account association.
Internal user queries also include forwarded Access Structure claims and local membership helpers, enabling checks on the target user's access before impersonation or other processing.
Improved internal claim handling
Internal _internal: claims are preserved across claim transform sets, Extended UI steps and JWT/SAML conversion without requiring entries in Forward claims.
Configured claim transforms can create internal claims and map them to ordinary output claims. JWT/SAML protocol mappings cannot create reserved claim types, and additional filtering prevents reserved claims from being issued through JWT output or static client claims.
Claim value types and JSON support
Claim value types, including JSON objects, arrays, booleans and numbers, are preserved through Map transforms, sessions, Extended UI, authorisation codes and refresh token grants. OpenID Connect UserInfo returns values with their corresponding JSON types.
JWT-to-SAML mapping carries JSON values as text in string attributes. SAML-to-JWT mapping recognises valid JSON objects and arrays in string values and restores their JSON types.
The act claim is issued as a JSON object, and token exchange preserves existing actor chains. Its default SAML mapping is http://schemas.foxids.com/ws/identity/claims/act, which can be changed in the environment's claim mappings.
Protected claims
Added protection for FoxIDs-managed claims controlling sessions, token validity and authentication-method routing, including sid, iss and auth_time.
Protected claims cannot be configured as transform or dynamic UI outputs, used in custom JWT/SAML mappings, or supplied as static application, scope, user or Access Structure claims.
Protected claims returned by Claims API, Extended UI validation API, External Login API and Directory Connector API are discarded.
Smaller session cookies and improved session handling
Session tracking and logout information shared between applications are now stored in the database. The corresponding browser cookie contains only a small reference, reducing cookie size when users sign in to multiple applications.
SAML single logout uses the values recorded when each application signed in, without rerunning claim transforms. This ensures consistent logout even if the application's configuration subsequently changes.
Bugs Resolved
Authenticator app code autofill
Updated the authenticator app code field to use autocomplete="one-time-code", improving recognition by password managers that support autofilling verification codes.