Authentication Types

Select an authentication backend for your project based on where you manage application users.

Each project uses one authentication backend. All applications within the project share its configuration.

Basic Authentication

Use BASIC authentication to test email and password sign-in. BASIC also supports social and federated sign-in methods. Supported social sign-in providers can be used in production applications.

Users can register and sign in with email and password, and you can also enable the third-party and federated sign-in methods in the following list. Oracle Backend with Supabase APIs handles sign-in and sign-out, password reset, password hashing, token issuance, and user profile management.

Basic Authentication uses a database table to store application user profiles.

Basic Authentication includes:

Configuration

You can configure the password policy in the Console.

Basic authentication can be enabled through the Oracle Backend with Supabase APIs Console.

See Also: Basic Authentication Setup for detailed steps on how to set up Basic Authentication

LDAP Authentication

LDAP lets you use a hosted LDAP server as the authentication server for your Oracle Backend with Supabase APIs project. You keep user identities in LDAP, and Oracle Backend with Supabase APIs integrates with that directory.

Use LDAP authentication when your organization manages application users in an LDAP directory. Application users sign in with their directory credentials, and administrators configure the LDAP connection in the Console.

Configuration

Oracle Backend with Supabase APIs does not install LDAP for you. It connects to your existing LDAP server during the authentication setup in the Console.

Configuration details include:

Configure LDAP in the Console by providing the following server details:

LDAP uses a directory to store application users and supports the sign-in methods described in this chapter.

IDCS Authentication

IDCS lets you use an OCI IAM Domain as the authentication server for your Oracle Backend with Supabase APIs project.

To integrate IDCS, provide:

IDCS supports custom email templates and multi-factor authentication. Basic authentication also supports multi-factor authentication. See Setting Up Multi-Factor Authentication.

Configuration

To set up IDCS:

  1. Create an identity domain in OCI.

  2. Copy the domain URL.

  3. Obtain an administrator access token using the client credentials flow described in IDCS Authentication Setup.

  4. In the Oracle Backend with Supabase APIs Console, enter the domain URL and access token.

Oracle IAM Identity Domain Requirement

An Oracle IAM Free Identity Domain does not include end-user self-registration. The setup of Oracle Backend with Supabase APIs IDCS authentication provisions and uses a self-registration profile, so this configuration requires an Oracle IAM Identity Domain edition that includes end-user self-registration. This requirement applies when IDCS is the project authentication type. Social sign-in and third-party OIDC provider configuration follow their own provider requirements.

See Also: IDCS Authentication Setup for detailed steps on how to set up the IDCS authentication

External IDCS Authentication

External IDCS lets a project integrate with an enterprise Oracle IAM identity domain while using the same APIs as IDCS authentication. It supports organizations where multiple users and IDCS applications share the same IAM domain.

Access is restricted to users in the fusa-<projectID>-usergroup project group. Users created through the APIs are added automatically, while an IAM identity domain administrator must assign existing users to the group. After sign-in, service requests use the External IDCS end-user access token directly, and DeepSec maps IAM users to data roles and data grants.

See Also: External IDCS Authentication Setup for more information about External IDCS authentication

Which Path is Right for Me?

Use BASIC to test email and password sign-in or to use supported social sign-in providers. Social sign-in can be used in production applications.

Use LDAP if your organization maintains an LDAP directory and you want to store application users there.

Use IDCS if you want OCI IAM Domain integration with custom email templates or multi-factor authentication.

Use External IDCS if your project uses an enterprise IAM identity domain with existing users and applications. Project-group membership controls which users can use the project.

Select the backend before users register. Switching backends does not migrate accounts. See Changing Authentication Providers.

Note: The major difference between BASIC and LDAP is the underlying storage engine. BASIC uses a database table, while LDAP uses an LDAP directory.