DocsAdd to your app
Sign-in for your app’s users
Sign-in lets each person who uses your app have an account, so they see and change their own things. Today people sign in to your app with their Google account.
Turn it on
- In your app’s menu, under Settings, open Sign-in.
- Press Turn on Google sign-in. There is nothing else to set up. It also turns on your app’s database, where the accounts are kept.
- Tell PeerMake in the chat what signed-in people may see and do, for example “only signed-in people can open the dashboard, and everyone sees just their own orders”.
You can also simply ask for accounts in the chat; PeerMake turns sign-in on and shows a Google sign-in ready card. It works in the preview and in your published app. Your app never handles passwords.
What people see
Someone who signs in first gets a short PeerMake screen that names your app and its address and says the app will receive their name, email address and photo. After Continue they choose their Google account. Google’s own screen shows “PeerMake” as the app asking.
In the preview, sign-in opens in a small window. The preview can also offer made-up test users, so you can try the app as different people without real accounts; the Sign-in page lists them under Preview test users.
Once people have accounts, the Sign-in page shows how many, how many are new this week and when someone last signed in. The workspace’s owner and admins also see People: who signed in most recently, with their email and when they were first and last seen. Like reading your data, each look is logged; everyone is listed under Open in Data.
Show your own name on Google’s screen
For a published app you can have Google show your app’s name and logo instead of “PeerMake”. You need a Google account and a few minutes in Google Cloud. On the Sign-in page, under Who shows the sign-in screen, pick Your own Google client; it lists what to copy:
- In Google Cloud → APIs & Services → Credentials, set up the OAuth consent screen with your app’s name and logo.
- Create an OAuth client ID of type “Web application”.
- Add the addresses that Settings shows under Redirect URI to add in Google and JavaScript origin to add in Google to the client’s Authorized redirect URIs and Authorized JavaScript origins. Each has a Copy button; they must match exactly.
- Paste the Client ID and Client secret into Settings and press Save. The client secret is stored as a secret and never shown again.
The preview keeps using PeerMake’s. Picking PeerMake’s sign-in screen goes back at any time. If you later connect your own domain, add the new addresses that Settings then shows to your Google client as well.
Turn it off
Switching Google sign-in off in the same place, then Turn off, signs everyone out of your app, in the preview and the published app, and nobody can sign in until you turn it on again. Their saved data stays.
Something missing or wrong here? Write to support@peermake.app.