1. What you'll do
In this guide, you'll learn how to:
- Understand how authentication and SSO work with OXU Identity.
- Choose the right authentication protocol for your application.
- Prepare the information required for integration.
- Get started with OIDC or SAML integration in OXU Developer.
2. Why it matters
OXU Identity acts as a centralized Identity Provider (IdP), allowing users to sign in to supported applications and services using their OXU accounts.
By integrating with OXU Identity, you can:
- Enable Single Sign-On (SSO): Allow users to access connected applications using their OXU identity without maintaining separate application passwords.
- Simplify authentication: Use standard authentication protocols instead of building and maintaining your own sign-in system.
- Improve security: Authenticate users through OXU Identity and securely exchange authentication information using OIDC or SAML.
- Provide a consistent sign-in experience: Let users sign in to supported applications with their existing OXU accounts.
3. How authentication works
When a user signs in to an application integrated with OXU Identity:
- User accesses your application: The user opens an application that supports OIDC or SAML.
- Application redirects to OXU Identity: The application initiates authentication through OXU Identity.
- OXU Identity authenticates the user: The user signs in with their OXU account if they do not already have an active session.
- OXU Identity returns the authentication response: OXU Identity sends the appropriate authentication response through the configured protocol.
- Application grants access: Your application validates the response, establishes its own session, and applies its authorization rules.
Note: Authentication verifies who the user is. Authorization determines what the user can access or do within your application. These are separate responsibilities.
4. Choose your authentication protocol
OXU Developer supports two standard protocols for integrating applications with OXU Identity.
OpenID Connect (OIDC)
OIDC is an identity layer built on OAuth 2.0, commonly used for modern web, mobile, and native applications.
Choose OIDC when:
- Your application supports OAuth 2.0 / OpenID Connect.
- You are building a modern web, single-page, or mobile application.
- You want your application to authenticate users with OXU Identity and receive identity information through standard tokens.
Example: Integrate Google Workspace or another OIDC-compatible application so users can sign in with their OXU accounts.
Security Assertion Markup Language (SAML)
SAML is an XML-based authentication standard commonly used for enterprise Single Sign-On.
Choose SAML when:
- Your application or enterprise service supports SAML SSO.
- You are integrating an existing enterprise SaaS application.
- The service requires SAML assertions for user authentication.
Example: Integrate GitHub Enterprise or another SAML-compatible service so users can sign in with their OXU accounts.
OIDC vs. SAML
| OIDC | SAML | |
|---|---|---|
| Standard | OpenID Connect / OAuth 2.0 | SAML 2.0 |
| Best suited for | Modern web, mobile, and native applications | Enterprise SaaS and business systems |
| Authentication response | Tokens, including ID tokens | SAML assertions |
| Example integration | Google Workspace | GitHub Enterprise |
Both protocols enable users to authenticate through OXU Identity. Choose the protocol based on the capabilities and requirements of the application or service you want to integrate.
5. Before you begin
Make sure you have:
- An active OXU account.
- Permission to create and manage applications in OXU Developer.
- Access to configure the application or service you want to integrate.
- Information about the authentication protocol supported by your application.
For OIDC integration:
Prepare your application's redirect URI and other relevant OAuth 2.0 / OIDC settings.
For SAML integration:
Prepare the Service Provider (SP) configuration, including the Assertion Consumer Service (ACS) URL and SP Entity ID.
Additional settings may be required depending on your application and authentication method.
6. Get started
Follow these steps to begin integrating your application with OXU Identity.
- Sign in to OXU Developer.
- Navigate to Getting started.
- Find Let users sign in and control access with OXU.
- Click View details to learn about the integration requirements, or select Start integration to continue.
- Choose your authentication protocol:
- OIDC: Integration using OAuth 2.0 / OpenID Connect.
- SAML: Integration using SAML 2.0.
- Follow the guided setup to create your application and configure the selected authentication method.
You can also use a recommended quick start from the Know exactly what you need? section:
- Google: Start Google Workspace SSO integration using OIDC.
- GitHub: Start GitHub Enterprise SSO integration using SAML.
- Next.js, React, JavaScript, or Swift (iOS): Start an application-specific integration flow.
7. What's next?
Continue with the guide that matches your integration:
- Integrate with OIDC: Configure OpenID Connect authentication for your application.
- Integrate with SAML: Configure SAML-based Single Sign-On for your application.
- Configure authentication & logout: Set up authentication callbacks, sessions, and supported logout behavior.
- Test your integration: Verify that users can successfully sign in through OXU Identity.
Once authentication is working, you can continue configuring other OXU capabilities, such as role-based access control (RBAC), Workspace integration, or Store publishing, depending on your application's needs.