Securely Connect Overview
What Securely Connect is, how the auth server and resource API fit together, and where to start.
Securely Connect is the OAuth 2.0 + OpenID Connect platform that lets your application authenticate against Securely and act on behalf of a merchant or business β to create payment links, process charges, and read transactional data.
The platform is split into two surfaces:
| Surface | Base URL | Purpose |
|---|---|---|
| Authorization Server | https://auth.securelyme.io | Issues tokens. Hosts /oauth/authorize, /oauth/token, /consent, /.well-known/jwks.json, /.well-known/openid-configuration. |
| Resource API | https://api.securelyme.io | Accepts your access token and performs business operations (payment links, transactions, customers, etc.). |
Sandbox URLsWhile you're integrating, use
https://sandbox-auth.securelyme.ioandhttps://sandbox-api.securelyme.io. Production URLs are above.
How the pieces fit together
ββββββββββββββββ 1. authorize ββββββββββββββββββββββ
β Your App β ββββββββββββββββββΊ β auth.securelyme.io β
β β ββββββββββββββββββ β (token issuer) β
β β 2. access_token ββββββββββββββββββββββ
β β
β β 3. API call ββββββββββββββββββββββ
β β ββββββββββββββββββΊ β api.securelyme.io β
β β ββββββββββββββββββ β (resource API) β
ββββββββββββββββ 4. response ββββββββββββββββββββββ
Every request to the resource API carries a JWT access token that the auth server issued. The resource API verifies that token against the public keys at /.well-known/jwks.json.
Two questions decide your integration
Before writing any code, decide:
- What party type are you? second-party or third-party. This determines whether your end users see a consent screen and which grant types you can use. See Second-Party vs Third-Party.
- What client type are you? Public or confidential. This determines whether you authenticate with a
client_secretor with PKCE. See Public vs Confidential Clients.
Once you know both, the Choosing Your OAuth Flow guide tells you exactly which endpoints to call and in what order.
What you can do with the API
- Issue access tokens with
authorization_code+ PKCE,refresh_token, orclient_credentialsgrants. - Create checkout payment links that customers complete themselves.
- Create charge payment links that an agent or cashier drives.
- Choose how a payment authorizes β
AUTH_CAPTUREfor one-step, orPREAUTHfor a hold-then-capture flow. - Refresh tokens with one-time-use rotation that detects token replay.
Where to start
Updated 4 months ago
Whatβs Next
Second-Party vs Third-Party β pick your category.
