Single Sign-On Service for seamless authentication
Use our SSO service to authenticate users in your application.
POST /api/login{
"callbackUrl": "http://localhost:3000/callback",
"appToken": "your_app_token",
"appSecret": "your_app_secret",
"data": {}
}{
"success": true,
"sessionId": "abc123",
"redirectUrl": "/auth/login/abc123"
}{
"jwt": "eyJhbGciOiJIUzI1NiIs...",
"user": {
"id": "user_id",
"name": "John Doe",
"email": "john@example.com"
},
"permissions": ["read", "write"]
}