One integration.
Every way to sign in.
Add Corenexis to your app and your users get Google, GitHub, Microsoft, Facebook, magic-link and password sign-in — with two-factor authentication, a consent screen and device management already built in. You wire up one OAuth 2.0 flow. We handle the identity.
Free · no SDK to install · plain HTTP and JSON
- GitHub
- Microsoft
- Magic link
- Password
- 2FA
// 1. send the user to Corenexis (state + PKCE S256)
res.redirect('https://accounts.corenexis.com/' +
'?redirect=' + encodeURIComponent(CALLBACK) +
'&state=' + state +
'&code_challenge=' + challenge +
'&code_challenge_method=S256');
// 2. back with ?code=… (check state and iss first)
const tok = await (await fetch(BASE + '/api/token', {
method: 'POST',
body: new URLSearchParams({
grant_type: 'authorization_code',
code: req.query.code,
client_id: CLIENT_ID,
client_secret: CLIENT_SECRET,
code_verifier: verifier,
redirect_uri: CALLBACK,
}),
})).json();
// 3. that's it — a verified user
req.session.userId = tok.user.id;
Delete half your auth code
Authentication is the part of an app that is easy to start and expensive to finish. Everything on the left stops being your problem the day you integrate.
You no longer build
Or maintain, or get audited on.
- Password hashing, strength rules and rotation
- Reset-password and verify-email mail flows
- TOTP two-factor, QR enrolment and backup codes
- A separate OAuth app per social provider
- Session storage, device lists and remote sign-out
- Bot defence and captcha on your sign-in form
- Credential-breach handling and lockout policy
You write instead
One redirect, one POST, one session.
- A link that sends the user to Corenexis
- A callback route that receives a
code - One server-side POST that exchanges it for tokens
- Your own session, keyed on the returned account id
No SDK, no library, no lock-in — it is standard OAuth 2.0 authorization code, so anything that already speaks OAuth speaks to us.
Three steps, and you are done
The browser never sees a secret. Your server does the one exchange that matters.
-
1
Redirect
Send the browser to
accounts.corenexis.com/?redirect=…with your exact callback URL, astateyou generated and a PKCES256challenge. -
2
Get a code
The user signs in however they like, approves your app once, and comes back to your callback with a single-use
codethat lives 60 seconds. -
3
Exchange it
Your server checks
stateandiss, then POSTs the code withredirect_uri,code_verifierand yourclient_secret, and gets an access token, a rotating refresh token and the user's verified profile.
Quick start
The whole integration as a checklist. Every step is enforced by the server.
- Create an app in the developer console (verified email and two-step verification required).
- Register your exact redirect URI. It is matched byte for byte.
- Choose your data access: name, email and account id are always included.
- Redirect the user with a fresh state and a PKCE S256 code challenge.
- On the callback, check state and iss. On access_denied, show a signed-out page; never restart sign-in automatically.
- Exchange the code server-side within 60 seconds, with redirect_uri and code_verifier.
- Read user, key your records on user.id, and store the rotating refresh token.
This is what your users will see
One button in your app, our sign-in screen, and a verified identity back on your server. Play it through — the third panel is the real shape of the response.
Sign in to YourApp
Welcome back — pick how you'd like to continue.
One button. That is the whole integration on your side.
Sign in to YourApp
using your Corenexis Account
- Your account ID
- Your name
- Your email address
Shown once per user. Your privacy policy and terms appear here too.
Signed in as Aarav — your app never saw a password.
Take the screen, not just the idea
The button in that first panel is not a mockup — it is the markup below. Copy it, point the link at your authorize URL, and your sign-in screen is done. The mark is served from our servers, so it stays current without you re-exporting anything.
Sign in to YourApp
Welcome back — pick how you'd like to continue.
Secured by Corenexis. Your password is never shared with this app.
<!-- Sign in with Corenexis -->
<a class="cnx-signin"
href="https://accounts.corenexis.com/?redirect=https%3A%2F%2Fyourapp.com%2Fauth%2Fcallback&state=YOUR_STATE&code_challenge=YOUR_CHALLENGE&code_challenge_method=S256">
<img src="https://accounts.corenexis.com/assets/logo/icon-white-theme.webp"
alt="" width="20" height="20">
<span>Continue with Corenexis</span>
</a>
<style>
.cnx-signin{display:inline-flex;align-items:center;justify-content:center;gap:10px;
padding:12px 22px;border:1px solid #dfe3ec;border-radius:10px;background:#fff;
color:#131a35;font-family:inherit;font-size:.95rem;font-weight:600;line-height:1.2;
text-decoration:none;cursor:pointer;
transition:border-color .18s ease,box-shadow .18s ease}
.cnx-signin:hover{border-color:#fe5940;box-shadow:0 6px 18px rgba(254,89,64,.18)}
.cnx-signin:focus-visible{outline:2px solid #fe5940;outline-offset:2px}
.cnx-signin img{width:20px;height:20px}
</style>
<!-- Sign in with Corenexis — for dark backgrounds -->
<a class="cnx-signin cnx-signin--dark"
href="https://accounts.corenexis.com/?redirect=https%3A%2F%2Fyourapp.com%2Fauth%2Fcallback&state=YOUR_STATE&code_challenge=YOUR_CHALLENGE&code_challenge_method=S256">
<img src="https://accounts.corenexis.com/assets/logo/icon-dark-theme.webp"
alt="" width="20" height="20">
<span>Continue with Corenexis</span>
</a>
<style>
.cnx-signin{display:inline-flex;align-items:center;justify-content:center;gap:10px;
padding:12px 22px;border:1px solid #dfe3ec;border-radius:10px;background:#fff;
color:#131a35;font-family:inherit;font-size:.95rem;font-weight:600;line-height:1.2;
text-decoration:none;cursor:pointer;
transition:border-color .18s ease,box-shadow .18s ease}
.cnx-signin:focus-visible{outline:2px solid #fe5940;outline-offset:2px}
.cnx-signin img{width:20px;height:20px}
.cnx-signin--dark{background:#15172a;border-color:#2a2d45;color:#fff}
.cnx-signin--dark:hover{border-color:#fe5940;box-shadow:0 6px 18px rgba(254,89,64,.26)}
</style>
<!-- A whole sign-in screen: Corenexis as the only way in -->
<div class="cnx-card">
<div class="cnx-card-logo">YA</div>
<h1 class="cnx-card-title">Sign in to YourApp</h1>
<p class="cnx-card-sub">Welcome back — pick how you'd like to continue.</p>
<a class="cnx-signin"
href="https://accounts.corenexis.com/?redirect=https%3A%2F%2Fyourapp.com%2Fauth%2Fcallback&state=YOUR_STATE&code_challenge=YOUR_CHALLENGE&code_challenge_method=S256">
<img src="https://accounts.corenexis.com/assets/logo/icon-white-theme.webp"
alt="" width="20" height="20">
<span>Continue with Corenexis</span>
</a>
<p class="cnx-card-note">Secured by Corenexis. Your password is never shared with this app.</p>
</div>
<style>
.cnx-card{max-width:400px;margin:0 auto;padding:38px 30px;text-align:center;
background:#fff;border:1px solid #e6e9f0;border-radius:18px;
box-shadow:0 24px 50px -40px rgba(0,11,54,.5);
font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.cnx-card-logo{width:52px;height:52px;margin:0 auto 16px;border-radius:14px;
display:grid;place-items:center;color:#fff;font-weight:800;letter-spacing:.04em;
background:linear-gradient(140deg,#3b6fd4,#6b4bd6)}
.cnx-card-title{margin:0 0 6px;font-size:1.22rem;font-weight:700;color:#131a35}
.cnx-card-sub{margin:0 0 22px;font-size:.92rem;color:#5b6580}
.cnx-card-note{margin:18px 0 0;font-size:.8rem;color:#8a93a8}
.cnx-signin{display:inline-flex;align-items:center;justify-content:center;gap:10px;
padding:12px 22px;border:1px solid #dfe3ec;border-radius:10px;background:#fff;
color:#131a35;font-family:inherit;font-size:.95rem;font-weight:600;line-height:1.2;
text-decoration:none;cursor:pointer;
transition:border-color .18s ease,box-shadow .18s ease}
.cnx-signin:hover{border-color:#fe5940;box-shadow:0 6px 18px rgba(254,89,64,.18)}
.cnx-signin:focus-visible{outline:2px solid #fe5940;outline-offset:2px}
.cnx-signin img{width:20px;height:20px}
</style>
Mark files, free to hotlink: accounts.corenexis.com/assets/logo/icon-white-theme.webp for light surfaces, icon-dark-theme.webp for dark. A .png of each sits beside it.
Keep the wording “Continue with Corenexis” or “Sign in with Corenexis”,
and please don't recolour or stretch the mark.
Security you would otherwise schedule for later
Every item here is live on the platform today, for every app, with nothing to switch on.
Five ways in, one account
Google, GitHub, Microsoft, Facebook, magic link and password all resolve to the same Corenexis account — so a user who signed up with a password can later use Google and still be the same person to you.
Two-factor, done properly
A tap and a fingerprint in the Corenexis app, or an authenticator code with backup codes (replay-protected per RFC 6238). Every sign-in method asks for it, and your app inherits it without a line of code.
Signed RS256 tokens
Access tokens are RS256 JWTs with a published JWKS and an OpenID discovery document, so your API can verify them without calling us.
Refresh rotation + reuse detection
Every refresh returns a new token and retires the old one. Presenting a retired token revokes the session instead of issuing more — RFC 9700 §4.14.2.
PKCE on every sign-in
S256 code challenges are required on every sign-in (plain is refused), which is also what makes a custom-scheme callback on Android or iOS safe.
Consent and revocation
Users approve your app once, see exactly what it receives, and can withdraw access at any time from their Connected apps page — with no support ticket for you.
Web, mobile, desktop, API
If it can make an HTTPS request and keep one secret on a server, it can sign users in with Corenexis.
Server-rendered web
PHP, Node, Python, Go, Rails — a redirect and a POST.
SPA + backend
React, Vue, Svelte with a thin API that holds the secret.
Android & iOS
Custom-scheme callback, PKCE, exchange through your backend.
Desktop
A loopback listener on 127.0.0.1 is accepted as a callback.
You receive what the user agreed to. Nothing else.
You choose the data per app in the developer console, and it is enforced server-side: a request cannot widen it, and a user is never shown a permission your app would not actually get.
| Data (scope) | Fields | Availability |
|---|---|---|
| Account ID | id |
Always included |
| Name (profile) | name |
Always included |
| Email (email) | email, email_verified |
Always included |
| Country & timezone (locale) | country, timezone |
Optional |
| Profile picture (picture) | avatar_url |
Verified apps only |
| Phone number, security status | phone, security |
Corenexis products only |
You never receive a password, a 2FA code or a backup code — nothing we send can be used to sign in as that user anywhere else. Details in the data access docs.
Before you start
What does it cost?
Nothing. You can register up to five apps per Corenexis account, and each one gets the full flow — tokens, refresh, userinfo, consent, 2FA. If you need more than five, ask us.
Where do I create and manage an app?
On the identity platform itself: accounts.corenexis.com/developer. Apps are only ever created there — this site is the documentation. You need a Corenexis account with a verified email address and two-step verification turned on.
Do my users need an existing Corenexis account?
No. If they don't have one they can create it during the sign-in flow, or come in through Google, GitHub, Microsoft or Facebook — which creates the account for them.
Is this OpenID Connect?
It is OAuth 2.0 authorization code with OIDC-style pieces: RS256 ID-style access tokens, a JWKS endpoint and a discovery document. Any OAuth 2.0 client library will work; you don't need an OIDC-certified one.
Can I use it for a mobile app?
Yes — register a custom scheme such as com.yourapp.name://auth/callback, use PKCE, and exchange the code through your own backend so the client secret never ships inside the app. Full walkthrough in the docs.
What does "Unverified app" mean?
Every new self-service app is labelled Unverified app on the consent screen. Sign-in works the same. Verify your app from its Verification tab in the developer console to remove the label, show the verified badge and unlock the profile picture. The steps are in App verification.
What happens if a user revokes my app?
Its refresh tokens stop working immediately and the next refresh returns invalid_grant. Send the user through sign-in again; if they approve, you're reconnected.
Ship the app. We'll hold the identity.
Create an app, copy two values into your environment, and have working sign-in this afternoon — with 2FA and social providers your users already trust.
One account. Every app. Free.
Your users sign in once and carry the same verified identity into every app built on Corenexis — and they can see, review and revoke every one of them from a single place.
- Free, all of itEvery provider, 2FA, consent and device management — no tier, no per-user pricing.
- Secure by defaultTwo-factor on every method, one-time codes, and a password your app never sees.
- Managed in one placeEvery connected app and signed-in device, reviewable and revocable at any time.