How to access
Settings → Developers → OAuth ApplicationsPrerequisites
- Administrator access required
- OAuth module enabled for your organization
How OAuth Works
Creating an OAuth Application
1
Navigate to OAuth settings
Go to Settings → Developers → OAuth Applications.
2
Click Create Application
Start creating a new OAuth app.
3
Enter application details
Provide name, description, and redirect URIs.
4
Copy credentials
Save your Client ID and Client Secret securely.
Application Settings
Application name shown to users during authorization.
Description of what the app does.
Allowed callback URLs after authorization.
Permissions the app can request.
OAuth Endpoints
| Endpoint | Description |
|---|---|
/oauth/authorize | Authorization endpoint |
/oauth/token | Token exchange endpoint |
/oauth/userinfo | User info endpoint |
Authorization Flow
Step 1: Redirect to Authorization
Step 2: Exchange Code for Token
Step 3: Get User Info
Available Scopes
| Scope | Data Accessible |
|---|---|
profile | Name, profile picture |
email | Email address |
groups | Group memberships |
roles | User roles and permissions |
User Info Response
Use Cases
Internal tools
Internal tools
Allow members to log in to internal tools with their Orgo account.
Partner applications
Partner applications
Provide SSO for partner services your members use.
Custom websites
Custom websites
Add “Login with Orgo” to your organization’s website.
Mobile apps
Mobile apps
Authenticate users in custom mobile applications.
Security Best Practices
Keep secrets secure
Keep secrets secure
Never expose Client Secret in client-side code.
Validate redirect URIs
Validate redirect URIs
Only whitelist specific, known redirect URIs.
Use HTTPS
Use HTTPS
All OAuth endpoints require HTTPS.
Request minimal scopes
Request minimal scopes
Only request the permissions your app actually needs.
Troubleshooting
Invalid redirect URI
Invalid redirect URI
Ensure the redirect URI exactly matches what’s registered in the app settings.
Token expired
Token expired
Access tokens expire. Use refresh tokens or re-authenticate.
Insufficient scope
Insufficient scope
Request the necessary scopes during authorization.
Related Features
- API Access - REST API integration
- Users - User management