Platform
Sign in with Shopeak
Coming soonLet people sign in to your app with their Shopeak account and choose what it can see. It isn’t open to other apps yet, but this page shares the plan so you can get ready.
Where things stand#
Shopeak’s own websites and apps already sign people in with their Shopeak account, using OpenID Connect. It isn’t open to other apps yet, so only Shopeak’s own apps can use it.
Building an AI agent that works on a seller’s store? That uses a separate connection, and it’s already live. See Apps & agents.
This page describes a plan
How it will work#
Sign in with Shopeak will use OAuth 2.0 and OpenID Connect, the standards behind most “Sign in with…” buttons. A sign-in will go like this:
Your app sends the person to Shopeak
They sign in on Shopeak’s own page, so your app never sees their password.
Shopeak asks for their permission
A consent screen lists what your app is asking for, such as “View your order history”. They can allow or decline.
Shopeak sends them back with a code
If they allow it, Shopeak sends them back to your app with a one-time code that expires after a short time.
Your app swaps the code for tokens
Your app gets an ID token that says who signed in, and an access token for the data they agreed to share.
Expected technical details
- Flow
- Authorization code flow with PKCE, using the
S256method. - ID tokens
- JSON Web Tokens signed with
RS256. The public keys will be published as a JSON Web Key Set. - Refresh tokens
- So your app can stay signed in without asking the person again.
- Discovery
- A standard
/.well-known/openid-configurationdocument, so OpenID Connect libraries can set themselves up. - App registration
- You’ll register your app’s redirect URLs and the scopes it needs.
Use a standard library
Scopes#
Scopes are the permissions your app asks for. We expect to start with these:
| Scope | Description |
|---|---|
openid | Confirm who signed in. Required for sign-in, and gives your app an ID token. |
profile | The person’s name and profile photo. |
email | The person’s email address, and whether it’s verified. |
orders.read | The person’s order history. |
addresses.read | The person’s saved delivery addresses. |
addresses.write | Add and update the person’s saved delivery addresses. |
The consent screen describes each scope in plain words, such as “See your email address”. Ask only for what your app needs: people can decline, and a short list is easier to say yes to.
Accounts in the Shopeak MCP#
The Shopeak MCP is guest-only today. Assistants can search, build a cart and check out as a guest, but they can’t see a shopper’s saved addresses or past orders.
We plan to use Sign in with Shopeak to let shoppers link their account when they connect an AI app. The app would open Shopeak’s sign-in and consent screen, using the authorization flow built into the MCP standard. Once linked, an assistant could use a saved address at checkout or look up past orders, but only within the scopes the shopper approved.
- Linking is expected to be optional, and guest checkout will stay available.
- We don’t plan to change how payment works. The shopper still approves the exact amount and pays on Paystack.
- Tools for sellers, such as managing products and orders, are available through Apps & agents, where the seller connects your app to their store.
Early access#
Want to use Sign in with Shopeak in your app, or link Shopeak accounts in your agent? Email info@shopeak.co.ke and tell us:
- What you’re building, and who it’s for.
- Which scopes you’d need, and why.
- Where your app runs: on the web, on mobile, on a server or inside an AI app.
Your answers help us decide what to build first.
Next steps#
Questions or feedback about these docs? Email info@shopeak.co.ke.