Integrate ID.me identity verification into your nSelf authentication flow. Verify users belong to specific groups — military, veterans, first responders, students, teachers, government employees, and more — and gate content or discounts accordingly. Runs at port 3820 (shared with the auth plugin slot).
Requires an ID.me developer account and approved application at developers.id.me. Set your license key with nself license set nself_pro_... before installing.
nself license set nself_pro_...
nself plugin install idme
nself build
nself start| Env Var | Required | Description |
|---|---|---|
IDME_CLIENT_ID | Yes | ID.me app client ID |
IDME_CLIENT_SECRET | Yes | ID.me app client secret |
IDME_REDIRECT_URI | Yes | OAuth callback URL (must match ID.me app config) |
# Redirect user to this URL to begin ID.me verification
curl "http://127.0.0.1:3820/idme/auth?group=military&redirect_uri=https://yourapp.com/verified"curl "http://127.0.0.1:3820/idme/status?user_id=usr_abc123"idme_verified and idme_groups on user row| Endpoint | Method | Description |
|---|---|---|
/idme/auth | GET | Start ID.me verification OAuth flow |
/idme/callback | GET | OAuth callback — stores group claims |
/idme/status | GET | Get verification status and groups for a user |
/idme/revoke | POST | Revoke stored verification for a user |
/health | GET | Plugin health check |
nself plugin remove idmePort: 3820 | Category: Authentication | Last Updated: April 2026 | Plugin Version 1.1.1