Home Explore Blog Models CI



docker

2nd chunk of `content/manuals/security/for-admins/provisioning/just-in-time.md`
a9e9bd0fe54ce5bb4bb0b46541cc146e7d0b8e662296c09c0000000100000557


## SSO authentication with JIT provisioning disabled

When JIT provisioning is disabled in your SSO connection, the following actions occur during authentication:

1. The system checks if a Docker account exists for the user's email address.

    - If an account exists: The system uses the existing account and updates the user's full name if necessary.
    - If no account exists: A new Docker account is created using basic user attributes (email, name, and surname). A unique username is generated based on the user's email, name, and random numbers to ensure all usernames are unique across the platform.

2. The system checks for any pending invitations to the SSO organization.

   - Invitation found: If the user is a member of the organization or has a pending invitation, sign-in is successful, and the invitation is automatically accepted.
   - No invitation found: If the user is not a member of the organization and has no pending invitation, the sign-in fails, and an `Access denied` error appears. The user must contact an administrator to be invited to the organization.

With JIT disabled, group mapping is only available if you have [SCIM enabled](/security/for-admins/provisioning/scim/#enable-scim-in-docker). If SCIM is not enabled, users won't be auto-provisioned to groups.

Title: SSO Authentication with JIT Provisioning Disabled
Summary
This section describes the authentication process when Just-in-Time (JIT) provisioning is disabled in an SSO connection. The system checks for an existing Docker account and handles pending invitations. If no account exists, it creates one. However, unlike with JIT enabled, if no invitation is found for a non-member user, sign-in fails, and an 'Access denied' error appears. Group mapping is only available if SCIM is enabled; otherwise, users won't be auto-provisioned to groups.