The SweatStack Portal.
Account screens you don't have to build.
The Portal
is a SweatStack-hosted page, in your branding, where your users fix their own account and
come straight back to you. This demo runs the whole integration against your account:
read issue, render the four statuses, mint a session, open the real Portal,
come back.
Your SweatStack account is the login. No separate signup.
What this button actually does
# building authorize URL…
OAuth2 with PKCE, no client secret. The sign-in itself is the onboarding demo's job. Sign in with SweatStack ↗
The Portal is in beta and breaking changes can land at short notice. Email info@sweatstack.no before integrating, not after.
Signing you in…
Exchanging your authorization code for an access token…
Something interrupted the flow
You're signed in.
Everything below is live against your account.
issue on userinfo
live
One field on a call you already make, rendered inside a mock of your app. the one-line version ↗
/oauth/userinfo…Waiting for userinfo…
The response
# waiting…
capabilities from the status endpoint, each drawn in the UI its status calls for.
different UI per situation ↗
/profile/status…The response
# waiting…
The banners above do this on click: create a Portal link with the user's own access token, and say where they come back to. No backend, no secret. creating a session ↗
Don't build this URL yourself. Its shape is not a contract.
Open the Portal above and come back through its link. This card shows what changed. your users always come back ↗
Your account is probably healthy, so "all set" is the only state you'll see live. The rest, from the docs: what your user sees ↗
Where to go next
Read the Portal docs Build an app Onboarding demo
To replay as a brand-new user, first log out of SweatStack, then sign out here and sign in again.
Privacy
This is a static page with no server. Your access token stays in this browser and is only ever
sent to app.sweatstack.no. Signing out removes it. Your data is governed by the
SweatStack privacy policy.