Oracle Backend with Supabase APIs Authentication

Authentication in Oracle Backend with Supabase APIs is designed to be flexible, secure, and developer-friendly. It supports multiple identity providers, including traditional email/password login, enterprise-grade LDAP, Oracle Identity Cloud Service (IDCS), and popular social login providers like Google and Facebook. The system uses token-based authentication to ensure stateless and scalable access control across services.

Overview

Oracle Backend with Supabase APIs Authentication simplifies application security by providing client SDKs and a Console to create and manage application users. You can enable multiple sign-in methods, including email/password, social identity providers (for example, Google, Facebook, and GitHub), and third-party IDPs using SAML or OIDC. The service can also integrate directly with an Oracle IAM Domain to deliver enterprise-grade features such as Multi-Factor Authentication (MFA) and federated Single Sign-On (SSO).

A signed-in application user has an account recognized by the project’s authentication backend and a valid access token. Authentication establishes identity; each service also applies its authorization requirements. For relational database access, Deep Data Security evaluates data grants for the request’s data roles and user context.

Key Capabilities

Use the JavaScript SDK to add authentication to a web application. Use this section to select a capability and find the corresponding instructions.

Supported platform: Web/JavaScript.

Capability What you can do Platform docs
Email and password Create users, sign in, and reset passwords. User Management Operations
Social sign-in Sign in with Google, Facebook, or GitHub. Set up Social Sign-in (GitHub, Google, and more)
OIDC and SAML providers Integrate a third-party OIDC or SAML identity provider. Configuring OIDC and SAML Identity Providers
Auth state and current user Listen for Auth state changes and read the current user profile. Persistence Settings
Profile updates Update displayName and photoURL. User Management Operations
Email verification Send verification emails and confirm addresses. Email Verification and Password Reset
Password updates Update a signed-in user’s password. User Management Operations

App Users

The application user object represents a user account that has signed up for an app in your project. Apps usually have many registered users, and every app in a project shares the Auth Service database.

Basic Properties

Any registered user in Oracle Backend with Supabase APIs Authentication has basic properties such as:

Lifecycle Of Application Users

The JavaScript SDK provides listener callbacks for authentication state changes. The relational client’s onAuthStateChange() callback reports the initial session and these subsequent changes:

The relational client’s onAuthStateChange() callback does not emit a token-refresh event.

Application User Self-Service

The JavaScript SDK provides interfaces to perform user profile management operations:

Auth Tokens

When you use Oracle Backend with Supabase APIs Authentication, you can encounter these Auth tokens:

See Also: Auth Tokens for full token and Auth object details

Using Auth in your App

When to Use Authentication

Use Oracle Backend with Supabase APIs Authentication whenever your application needs to:

How to Configure

Select a project authentication backend and configure its sign-in methods in the Console. See Setting Up Authentication.

What is Authentication

Authentication is the process of verifying who is making a request from an application.

Note: Authorization differs from authentication because it determines what an authenticated user is allowed to do. Authentication verifies identity; authorization determines permissions.