Appearance
Users
The Users section lists everyone with an account on your sign in service. Search by name or email, then open a person to see their profile, roles, sign in methods, sessions, their API keys and the apps they've connected.
What you can do
| Action | What happens |
|---|---|
| Change roles | Their permissions change at their next token refresh, at most one access token lifetime later. A person can have up to 20 roles |
| Suspend | Ends their sessions and stops them signing in. Their tokens are refused at once wherever MicroAuth checks them, and their API keys stop working for them. Apps lose access within one access token lifetime, see when apps notice. Unsuspend them at any time |
| Sign out everywhere | Ends every sign in session, and the refresh tokens tied to them, so apps they signed in to there lose access within one access token lifetime. Apps they connected, and apps with offline_access, keep their access until they're disconnected |
| Revoke API keys | Revoke one of their keys or all of them. A revoked key stops working at your APIs within 30 seconds |
| Disconnect an app | Its refresh tokens for them stop at once and it has to ask them again. Access tokens it already has work until they expire |
| Send a password reset | Emails them a link to choose a new password. Their current password keeps working until they do |
| Reset two step verification | For someone who lost their authenticator app and recovery codes. Turns two step verification off, deletes their recovery codes and passkeys, ends their sessions as Sign out everywhere does, and emails them. Check it's really them first. Needs the admin role |
| Remove photo | They go back to the default avatar |
| Delete | Deletes the account with its profile photo, sessions, passkeys, API keys and connected apps, and emails them. All their tokens are refused at once wherever MicroAuth checks them, and apps lose access within one access token lifetime, see when apps notice. Needs the admin role. This can't be undone |
Changes are recorded in the service's Activity tab with who made them.
People get an email, under your service's name, when you suspend or unsuspend them, sign them out everywhere while they had a session, revoke their API keys or disconnect an app from their account. Role changes don't send one, since roles are yours to name and often come from your own code.
When apps notice
Suspending, deleting and signing someone out work at once on your sign in pages, at introspection and userinfo, and when an app refreshes. Apps can take a little longer:
- An app that signs people in with
UserAuthkeeps them signed in with its own cookie and only asks MicroAuth again when it refreshes, 30 seconds before the access token expires. That refresh fails, so it signs them out. - APIs that check access tokens themselves, as
TokenAuthdoes, accept a token already issued until it expires.
Either way it takes at most one access token lifetime: your setting, 10 minutes by default, for your own apps, and 10 minutes at most for apps people connect.
Inviting people
Invite someone by email and pick the roles they start with. They get an email with a link to set up their account, which works for 14 days. Inviting the same email again replaces the old invite. Invites work whatever the sign up mode, so you can run an invite only service for your team or your customers.
Invites nobody has accepted yet are listed under Pending invites, below the users, with the address, the roles and when each was sent. Resend emails a fresh link that works for another 14 days, and the link in the earlier email stops working. Cancel stops the link at once, which is what to do when an invite went to the wrong address. Both show in the service's Activity tab. A service can send up to 200 invites a day, resends included.
Sign up
Under Sign in you choose how people get in:
- Sign in methods: passwords and passkeys. The external providers you set up are on the Connections tab.
- Who can sign up: Anyone, or Only people you invite.
- Sessions and tokens: how long sign in sessions and access tokens last. See Sessions and tokens.
New users get your default roles.
The user limit
Your plan sets how many users a service can have. When you reach it, new sign ups wait: password sign ups, external sign in and invites all show a polite message, and workspace owners and admins get an email once a day while it happens. People who already have an account keep signing in. See pricing.
What your users see
Everyone gets Account pages on your sign in service, with your name and logo:
- Profile: name, email and a profile photo. People without a photo get a default avatar, so the
pictureclaim always has a URL. - Security: password, two step verification, passkeys and connected providers such as Google.
- Sessions: where they're signed in, with a button to sign out of each.
- Connected apps: the apps they've signed in to, your own included, with a button to disconnect each.
- API keys, when you turn them on.
- Your data: a copy of what the service holds about them, and a way to delete their account.
They also get an email when they let a third party app use their account or give it more access, when one of their API keys gets a new secret, when a recovery code is used, when they sign out their other sessions and when they download their data. These all go out, so there's no setting to turn them off.
Every page, including the consent screen and the sign out page, ends with the same footer: your support address and privacy policy, the Powered by MicroAuth badge unless you turned it off on a plan that can hide it, and a Report abuse link to MicroAuth.
Passkeys and two step verification work the way they do on developer portals. Signing in to a developer portal describes them from the user's side.
From your own code
The platform API has the same actions, so your back office can find, suspend or sign out a user without the dashboard.