Authorization
Authorization helpers for protected resources
Use auth helpers for authorization code exchange, token validation, and related login token flows on the Scalekit client.
These methods sit next to session management—use them when implementing hosted login callbacks and token checks.
updateLoginUserDetails
Section titled “updateLoginUserDetails”#asyncupdateLoginUserDetails
Updates user details for an ongoing authentication request.
paramconnectionIdstring
The SSO connection ID being used for authentication
paramloginRequestIdstring
The unique login request identifier from the auth flow
paramuserUserInput
User profile fields.
returnsobject
Empty response on successful update
MessageShape(typeof EmptySchema)
await scalekit.auth.updateLoginUserDetails( 'conn_abc123', 'login_xyz789', { email: 'john.doe@company.com', sub: 'unique_user_id_456', });