Evose
Integration

Integration · SSO

Currently supports OAuth + email · LDAP / AD / SAML / MFA on the roadmap

Connect Evose to your enterprise identity system. Currently OAuth + email run side by side; LDAP / AD / SAML / MFA are on the roadmap.

Current Support

MethodStatusBest for
Email + passwordDefault
OAuth 2.0Most IDPs (Google / Feishu / DingTalk / self-hosted IDP)
LDAP / AD RoadmapTraditional enterprise IT
SAML 2.0 RoadmapLarge enterprises / finance
MFA RoadmapStrict-compliance scenarios

OAuth Setup

1 · Create an App in the IDP

Callback URL:

https://evose.example.com/api/auth/oauth/callback

Record:

  • Client ID
  • Client Secret
  • Authorization URL
  • Token URL
  • UserInfo URL

2 · Configure in Evose

[Org · Settings · Authentication] → Add OAuth IDP:

Name: Company SSO
Client ID: ...
Client Secret: ...
Authorization URL: https://idp.example.com/oauth/authorize
Token URL: https://idp.example.com/oauth/token
UserInfo URL: https://idp.example.com/oauth/userinfo
Scope: openid profile email
Email field: email
Name field: name

3 · User Field Mapping

# IDP-returned userinfo
{
  "sub": "u-12345",
  "name": "Alice",
  "email": "alice@example.com",
  "department": "Marketing"
}
 
# Mapped to Evose
- email      ← email
- name       ← name
- department ← department (if not returned, assign after login)

4 · Restrict Email Domain

Configure evose.example.com in Organization info; only this domain can join.

5 · Test

Open a fresh browser, visit the login page → choose SSO → redirect to IDP → return to Evose.

Auto-Configure Department / Role

OAuth mapping can read custom fields (e.g. department / groups) and automatically:

  • Assign the correct department
  • Assign the correct role
default_role_mapping:
  - if: groups contains "engineering"
    role: App builder
  - if: department == "Finance"
    role: Finance audit
  - default: Default role

Email and SSO Coexisting

Both can be enabled simultaneously, suitable for:

  • External partners (use email)
  • Internal employees (use SSO)

Don't sign up the same email twice

The same email signed up via SSO and email is auto-merged into one account by email.

Troubleshooting

SymptomCheck
redirect_uri_mismatch after redirectIDP-configured callback URL matches Evose's actual domain
invalid_scopeIDP enabled openid profile email
Login OK but no department assignedUserInfo actually returns the department field
Cannot pass MFAEvose's MFA is on the roadmap; rely on IDP MFA for now

Next Steps

On this page