Register an OAuth application
Self-service registration with exact callbacks and a server-held secret.
Editorial update: October 30, 2026In this guide
Registration steps
- From an eligible paid account, open Control Panel → Applications → Connect and read mailboxes.
- Enter a recognizable app name and exact callback, such as https://client.example/oauth/callback.
- Register and save client_id and client_secret. The secret appears once and must not be sent to browser code or Git.
- Start Authorization Code authorization with PKCE S256. Registration alone does not grant mailbox access.
Callback URLs
Up to 10 callback URLs can be registered. Use HTTPS; http://localhost is allowed for local development subject to URL validation. redirect_uri must exactly match a registered callback, including protocol, path and trailing slash. Do not use an open redirect callback.
Discover metadata
Authorization server metadata
GET https://raselmail.com/.well-known/oauth-authorization-server