What's New
This section summarises the key changes introduced in Corppass Authorization API V2 relative to V1.
Enhanced Security
Pushed Authorization Request (PAR) Flow
All RPs must implement the PAR flow for enhanced security.
The authorization request is initiated via the backchannel
/requestendpoint (PAR).Refer to Authorization Endpoint for more details.
Proof Key of Code Exchange (PKCE)
PKCE is mandatory for all RPs performing the PAR flow for enhanced security. This provides additional protection against authorization code interception.
Refer to Proof Key of Code Exchange for more details.
Demonstrating Proof of Possession (DPoP)
A DPoP Proof JWT must be included for:
PAR requests
Token requests
Subsequent calls to protected resource endpoints (e.g., Userinfo Endpoint)
Refer to Demonstrating Proof of Possession (DPoP) for more details.
Stricter TTL requirements
Maximum client assertion lifespan reduced is reduced from 10mins to 2mins. Refer to Client Assertion JWT for more details.
Authorization code expiry is reduced from 10 min to 1 min. Refer to Token Endpoint for more details.
Authentication Context Parameters
Two new parameters are introduced to support contextualizing authentication requests:
authentication_context_type(Mandatory)authentication_context_message(Optional)
See Authorization Endpoint - Request Body and Authentication Context Parameters for more details.
Scopes and Consent
New finer-grained scopes are introduced to provide more control over requested authorization:
Authorization scopes
authinfotpauthinfo
Entity scopes
entity.identityentity.basic_profile.entity_nameentity.basic_profile.uen_status
User scopes
user.identityuser.nameuser.corppass.email
The consent screen now reflects these scopes during authorization, where applicable.
Refer to Scopes for more details.
ID Token and Userinfo Changes
Changes to ID Token Structure
subclaim value now references the entity's UEN or Corppass-issued entity identifier for non-UEN entitiesNew claims introduced
sub_typesub_attributes- primary subject (entity) informationact- actor subject (user) information
Deprecated claims
entityInfo-> replaced bysub_attributesuserInfo-> replaced byact.sub_attributesemail-> replaced byact.sub_attributes.corppass_emailemail_verified-> replaced byact.sub_attributes.corppass_email_verified
Refer to ID Token for more details.
Userinfo Endpoint
The Authorization Info Endpoint (
/authorization-info) is replaced by the Userinfo Endpoint (/userinfo).The
userinfo_endpointURL is provided in the Corppass OpenID Discovery document.Minor adjustments to the response payload structure:
AuthInfoclaim ->auth_infoTPAuthInfoclaim ->tp_auth_info
Refer to Userinfo Endpoint for more details.
Other Changes
Error Handling
Callback / redirect URLs must now handle new error query parameters returned after failures on the Authorization Endpoint.
Refer to Authorization Endpoint - Error Response for more details.
Last updated