Build a Google Login app
Pattern for partner-hosted apps that need each merchant’s own third-party credentials (Google OAuth Client ID/Secret and site URL).
1. Google Cloud Console
Each merchant creates an OAuth 2.0 Client ID in Google Cloud for their storefront domain. They will paste those values into Pulssor after installing your app.
2. Partners listing
- Open partners.mukdi.com/create.
- Kind: App. Set your hosted App URL and OAuth redirect URI(s) for your app (Pulssor ↔ partner OAuth), not Google’s.
- Request scopes such as
read_customers/write_customersas needed. - Settings schema JSON example:
[
{"key":"google_client_id","label":"Google Client ID","type":"string","required":true},
{"key":"google_client_secret","label":"Google Client Secret","type":"secret","required":true},
{"key":"website_url","label":"Storefront URL","type":"url","required":true}
]
Submit for OWN review.
3. OWN approve
Admins approve at partners.mukdi.com/OWN. The listing syncs into the Pulssor App Store.
4. Merchant install & configure
- Merchant installs from the App Store and grants scopes.
- Clicks Configure on the installation.
- Enters Google Client ID, Client Secret, and storefront URL.
5. Your app runtime
With the installation offline/access token, call:
GET https://pulssor.mukdi.com/api/app/installations/{installationId}/settings
Authorization: Bearer {pul_… access token}
Use the returned Google credentials to run the Google OAuth flow for shoppers, then create/link customers via GraphQL with the scopes you were granted.
Security
- Secrets are encrypted at rest on Pulssor and never echoed back to the merchant UI.
- Only the installing app’s token can read decrypted settings for that installation.
- Never ask merchants to share Google credentials with Mukdi staff — they stay on the merchant’s installation.