Okta Authentication
Oxy supports Okta OAuth 2.0 authentication, allowing users to sign in using their Okta credentials. This provides enterprise-grade authentication with support for SSO, MFA, and centralized user management.Prerequisites
Before configuring Okta authentication, you need:- An Okta account (or Okta Developer account)
- Administrative access to create an OAuth 2.0 application
- Your Okta domain (e.g.,
dev-12345678.okta.com)
Setting Up Okta Application
Step 1: Create an OAuth 2.0 Application
- Log in to your Okta Admin Console
- Navigate to Applications → Applications
- Click Create App Integration
- Select OIDC - OpenID Connect
- Choose Web Application
- Click Next
Step 2: Configure Application Settings
Configure your application with the following settings: App integration name:Oxy (or your preferred name)
Sign-in redirect URIs:
Step 3: Get Client Credentials
After creating the application:- Go to the General tab of your application
- Copy the Client ID
- Copy the Client secret (you may need to reveal it)
- Note your Okta domain from the URL (e.g.,
dev-12345678.okta.com)
Step 4: Configure Authorization Server (Optional)
By default, Oxy uses thedefault authorization server. If you need to use a custom authorization server:
- Navigate to Security → API → Authorization Servers
- Note the issuer URI of your authorization server
- Update the Oxy code if needed (see Advanced Configuration below)