Skip to content
Scalekit Docs
Talk to an EngineerDashboard

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.

clientAuthhttps://github.com/scalekit-inc/scalekit-sdk-python/blob/main/scalekit/auth.py
#asyncupdate_login_user_details

Runs update_login_user_details and returns the result.

paramconnection_idstr

Connection ID.

paramlogin_request_idstr

Login request id.

paramuserOptional[Mapping[str, Any]]

User profile fields.

returnsEmpty

The updated resource.

scalekit_client.auth.update_login_user_details(
'conn_abc123',
'login_xyz789',
{
'email': 'john.doe@company.com',
'sub': 'unique_user_id_456',
}
)