Identity, without noise
Integrate "Log in with AetherID" into your application. This guide details the OAuth 2.0 Authorization Code flow implementation for third-party developers.
AetherID implements the Authorization Code flow:
GET /login).authorization_code and redirects back.POST /api/oauth/token).GET /api/oauth/userinfo).{
"grant_type": "authorization_code",
"code": "<raw_authorization_code>",
"redirectUri": "https://app-a.example.com/callback",
"clientId": "<clientId>",
"clientSecret": "<clientSecret>"
}{
"access_token": "<jwt_access_token>",
"token_type": "Bearer",
"expires_in": 900,
"refresh_token": "<jwt_refresh_token>"
}Header: Authorization: Bearer <access_token>
{
"sub": "<userId>",
"email": "user@example.com",
"name": "user_name",
"preferred_username": "user_name",
"email_verified": true
}To get a clientId and clientSecret, you must register your application.