Integrate third-party applications and services with Kylrix using the OpenID Connect (OIDC) and OAuth 2.1 protocol with Authorization Code Flow + Proof Key for Code Exchange (PKCE).
| Resource | URI |
|---|---|
| OIDC Discovery URL | https://www.kylrix.space/.well-known/openid-configuration |
| Authorization Endpoint | https://www.kylrix.space/oauth/authorize |
| Token Endpoint | https://www.kylrix.space/api/v1/oauth/token |
| JWKS Keyset | https://www.kylrix.space/.well-known/jwks.json |
| Userinfo Endpoint | https://www.kylrix.space/api/v1/oauth/userinfo |
code_verifier: 43–128 char cryptographic random string.code_challenge: BASE64URL(SHA256(code_verifier)).code_challenge_method: S256.https://www.kylrix.space/oauth/authorize?
response_type=code
&client_id=YOUR_CLIENT_ID
&redirect_uri=https://your-app.com/callback
&scope=openid profile email notes:read notes:write
&state=xyz123
&code_challenge=CODE_CHALLENGE
&code_challenge_method=S256
curl -X POST https://www.kylrix.space/api/v1/oauth/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=authorization_code" \
-d "client_id=YOUR_CLIENT_ID" \
-d "code=AUTHORIZATION_CODE" \
-d "redirect_uri=https://your-app.com/callback" \
-d "code_verifier=ORIGINAL_CODE_VERIFIER"
access_token in the Authorization: Bearer <access_token> header on any /api/v1/* or /api/v1/mcp endpoint.