Don't want to read all this? Give this link to your agent: https://astrodock.ai/llms.txt
ASTRODOCK Get Started

Features · Sign-In

Sign-in for every app, with no login code to write.

Astrodock runs the sign-in page and keeps the accounts. Your app is told who signed in, and you decide who can open which app.

A person's details in the dashboard, with a switch for each app they can sign in to.
Choosing which apps a person can sign in to

How It Works

01

Your App Sends Them to Sign In

Your app redirects to Astrodock's sign-in page. Your code doesn't handle any of what happens there.

02

Astrodock Checks Who They Are

Password, passkey, second factor, whichever you've turned on. It also checks they're allowed into this particular app.

03

Your App Gets a Code

They come back with a one-time code. Your server trades it for their identity and starts its own session.

Why It Matters

No password code in your app.

Sign-in code is where small projects most often go wrong: a password logged by accident, a reset flow nobody tested, a session that never expires. None of that code is in your app.

Every app also gets passkeys and two-factor sign-in without building them.

One Session, Every App Sign in once, reach everything you're granted
Access per App The on-call tool, but not invoices
Or None at All A landing page doesn't need a login

In Your Code

Two routes in your server.

Your app sends people to sign in, then exchanges the code they come back with. There is no user table, no password hashing, no reset flow, and no session library to choose.

server.js
// send them to the platform
app.get('/api/login', (req, res) => {
  res.redirect(auth.authorizeUrl({ redirectUri, state }));
});

// they come back with a code, not a password
app.get('/api/auth/callback', async (req, res) => {
  const user = await auth.exchange(req.query.code, { redirectUri });
  // { userId, email, name } — now mint your own session
});