Appearance
What is MicroAuth?
MicroAuth handles who gets into your software. It runs three kinds of service, and a workspace can mix them:
- Sign in for your app. Hosted sign in and sign up pages on your own domain, OAuth 2.1 and OpenID Connect, roles and permissions, user management, external sign in, and access for AI clients through MCP.
- Sell an API. A developer portal where developers sign up, create keys and pay you, with rate limits, quotas and usage billing checked inside your API.
- Protect an internal API. Keys, limits and usage for an API your own teams or partners call. It's invite only, with billing off.
Your traffic never passes through MicroAuth. Access tokens are checked inside your own process, and API keys are checked with MicroAuth and cached for a short time.
Sign inFastAPI quickstartHosted sign in, sessions and role checks in a FastAPI app.LearnHow user authentication worksApplications, permissions, roles, users and the tokens behind them.AIAI and MCPLet AI clients act for your users, with only the access each person approves.Sell an APIAPI quickstartLaunch an API, connect it and make your first billed request.InternalInternal APIsIssue keys with expiry dates and limits for your own teams.ReferenceSDK referenceEvery class, option, field and error in the FastAPI SDK.
The pieces
| Piece | Where it lives | Who uses it |
|---|---|---|
| Dashboard | microauth.com/app | You and your team. Create services, manage users and customers |
| Sign in pages | https://<slug>.microauth.dev, or your own domain | The people who use your apps. Sign in, sign up, manage their account |
| OAuth and OpenID Connect | The same address as the sign in pages | Your apps, APIs, MCP servers and the AI clients people connect |
| Developer portal | https://<slug>.microauth.dev, or your own domain | Your API's customers. Sign up, create keys, pay and watch usage |
| SDK API | https://api.microauth.com/sdk/v1 | Your API, through the SDK or your own code |
| Platform API | https://microauth.com/api/v1 | Your scripts, CI and back office |
New to sign in services? Read How user authentication works. Selling an API? Start with How selling an API works.