App Casing
All guides

App Publishing

How to Add Apple & Google Sign-In to Your Mobile App Without Writing Native Code

One-tap sign-in with Apple or Google is something every polished mobile app offers — but setting it up involves Apple's and Google's own developer portals, not just your app. This guide walks you through the whole process, step by step, with direct links to the exact consoles you'll use.

Written and reviewed by Published Updated 14 min read

What “Native Sign-In” Means (and Why It Matters)

On a website, signing in with Google usually happens in a normal browser tab. Inside a mobile app, things work differently: when a website is displayed inside an app's embedded webview, Google blocks its sign-in flow there for security reasons. An app that relies on webview sign-in can end up with a login button that simply doesn't work.

Native sign-in avoids that. Instead of a web page inside the app, the app uses Apple's and Google's own built-in sign-in components — the same familiar sheets and dialogs you see in professionally built apps. It's faster for your users, and it's the approach the stores expect.

App Casing supports native Apple and Google sign-in as part of your app's configuration. What remains for you is connecting your own Apple and Google developer settings — because those accounts belong to you, and only you can create them. This guide shows you exactly how.

Before You Start: What You'll Need

Gather these first — it makes every later step quicker:

An Apple Developer Program membership ($99 per year, paid to Apple). Required for Sign in with Apple and for publishing to the App Store.

A Google Play Console account ($25 one time, paid to Google). Required for publishing to Google Play.

A Google Cloud project. This is where your Google sign-in configuration lives. It's free to create.

Your app's bundle ID (iOS) and package name (Android) — for example, com.yourname.yourapp. You chose these when creating your app in App Casing.

A privacy policy URL for your app. Both Apple and Google ask for it during sign-in setup.

Part A: Google Sign-In, Step by Step

Work through these in order. Keep your App Casing app configuration open in another tab — you'll copy values between the two.

Create or select a Google Cloud project

Open the Google Cloud Console and sign in with the Google account you want to own the app. Use the project selector at the top of the page to create a new project named after your app — or select an existing one. We recommend a separate project per application, so settings never mix between apps. Before every following step, glance at the selector and confirm the correct project is still selected.

Configure Google Auth Platform branding

Open Google Auth Platform → Branding. This is the screen users see when they sign in with Google, so use your real app name and logo.

Google asks for: your application name, a support email, an application logo, your homepage URL, your privacy policy URL, your authorized domains, and developer contact information. The privacy policy URL from your checklist goes here.

Depending on your configuration, Google may require additional verification before your branding is shown to all users — more on that in the verification step below.

Verify domain ownership

If your configuration references your domain, Google may ask you to prove you own it. This is done in Google Search Console. Add a domain property, and Search Console gives you a verification record — a piece of text it generates for you.

The usual method is DNS TXT verification: you copy the record Search Console shows you and add it as a TXT record in your domain's DNS settings (at your domain registrar or DNS provider). Then return to Search Console and complete verification. DNS changes can take minutes to hours to propagate, so if verification fails immediately, wait and retry.

Whether domain verification is required depends on your OAuth configuration and Google's current policies — if Google doesn't ask for it, you can skip this step.

Configure the OAuth audience

In the Google Auth Platform, you'll choose an audience. “Internal” is only for Google Workspace organizations — almost everyone publishing a public app needs “External”.

An external OAuth app starts in “Testing” mode: only the test users you explicitly add can sign in. When you're ready for the public, you publish the app to “Production”. Publishing is what makes sign-in work for everyone, and it's the point where Google's verification requirements (if any) apply.

Configure OAuth scopes

Scopes define what your app may ask Google for. For sign-in, the basic identity scopes are enough: openid, email, and profile — they let your app learn who the user is, and nothing more.

Resist adding more. Requesting additional Google data (like Drive or Calendar access) can trigger Google's sensitive or restricted scope verification — a much longer review process you don't need for sign-in.

Create the OAuth clients you need

Open Google Auth Platform → Clients and create OAuth client IDs. Google offers several types, and which ones you need depends on how your app signs users in:

Web client — used by website-based sign-in flows. It asks for authorized JavaScript origins (the domains allowed to start sign-in) and authorized redirect URIs (the exact addresses Google may send users back to). Both must match character-for-character. Copy the exact values App Casing shows you during setup — don't guess them.

Android client — asks for your app's package name and its SHA-1 signing certificate fingerprint. The fingerprint identifies the key that signs your app, and development and production builds are often signed differently — Google Play App Signing, for example, means Google re-signs your app with its own key, whose fingerprint appears in the

Google Play Console. Copy fingerprints from their source (App Casing or the Play Console) — never type them by hand.

iOS client — asks for your app's bundle ID. This is the client App Casing asks for when you enable Google sign-in on iPhone: create a client of type “iOS”, enter your bundle ID, and copy the client ID that ends in .apps.googleusercontent.com.

Complete Google verification where required

Google has three separate checks that people often confuse: domain ownership verification (proving you own your domain, via Search Console), branding verification (Google reviewing your app name and logo), and sensitive or restricted scope verification (a deeper review, only for apps requesting extra Google data).

Not every app needs all three. A sign-in-only app with basic scopes often needs none beyond the basics — follow what the Google Cloud Console actually asks of your project.

Connect Google sign-in to your app

Creating OAuth credentials doesn't by itself create a working login. Your application's authentication backend must receive Google's sign-in result, check that it's genuine, and create a session for the user. If your website was built with an AI platform, that platform's authentication system usually handles this part — see the platform sections below.

This is also why the native flow matters: Google blocks its OAuth flow inside embedded webviews, so an app that opens your website's Google login inside a webview will fail. Native sign-in (or a system-browser flow) sidesteps that block entirely.

Part B: Apple Sign-In, Step by Step

Everything here happens in your Apple Developer account, which requires an active Apple Developer Program membership.

Configure your App ID

In Certificates, Identifiers & Profiles, open Identifiers and find your app's App ID — its bundle identifier, the same one you set in App Casing. Open it, enable the “Sign in with Apple” capability, and save.

If you ever use several App IDs together (for example, an app and an extension), Apple lets one act as the primary App ID and others group under it. A single app usually needs just its own App ID.

Understand Services IDs

A Services ID is a separate identifier Apple uses for web-based “Sign in with Apple” flows — when the sign-in involves a web page rather than purely native components. Not every native Apple sign-in implementation needs one; whether yours does depends on the authentication architecture your app uses.

If your setup requires one, create it in the same Identifiers section (type “Services IDs”), and keep it straight from your bundle ID — they are different values and are not interchangeable.

Configure website authentication where required

When a Services ID is in play, Apple asks you to configure it: the website domains involved, the return URLs Apple may redirect to, and the primary App ID the Services ID is associated with. Apple's own walkthrough is Configure Sign in with Apple for the web. Use the exact return URL values your App Casing setup shows you.

Create an authentication key where required

Web-based Apple sign-in uses a private key: a .p8 file you create in the Keys section of your Apple Developer account. Apple's guide is Create a Sign in with Apple private key. Creating it involves your Apple Team ID, the Key ID Apple assigns, the private key file itself, your Services ID, and your bundle ID.

Two warnings worth taking seriously. Apple lets you download the private key only once — save it somewhere safe immediately. And the key must never appear in your website's frontend code or anywhere public; it stays in secure configuration only.

Connect Apple sign-in to your app

As with Google, Apple's side alone doesn't log anyone in: your app's authentication backend must validate Apple's sign-in result and connect it to a user account.

Two Apple behaviors to know about. Hide My Email lets users share a private relay address instead of their real email — your app must treat that relay address as a perfectly normal email. And Apple only sends the user's name on the very first authorization; returning users won't provide it again, so don't depend on it appearing later.

Know Apple's App Review requirements

Apple's App Review Guidelines include rules about sign-in. The well-known one: if your app offers certain third-party sign-in methods, Apple may require Sign in with Apple as well. Whether that applies depends on your app and the current guidelines — read the sign-in section of the guidelines for your case rather than assuming it applies to everyone.

Part C: Connect Everything in App Casing

With the Apple and Google side done, tell your app about it. In App Casing, open your app and go to the Configure section “Google & Apple accounts”.

For Google sign-in on iPhone, paste your Google iOS client ID into the field “Google iOS client ID (for Google sign-in on iPhone)” — that's the client ID ending in .apps.googleusercontent.com from the iOS OAuth client you created. Apple sign-in needs no ID in that field.

For Apple, enter your Apple Team ID in the “Apple Team ID” field. You can find it in your Apple Developer account membership details.

Values you paste into App Casing are saved locked, with an explicit Edit button if you need to change them later. App Casing does not create Google Cloud projects, OAuth clients, or Apple keys for you — those stay in your own accounts, which is why the earlier steps exist.

Because sign-in configuration lives inside the app itself, adding or changing native sign-in requires generating a new app version and submitting it to the stores — included in your one-time payment.

Part D: Using Native Sign-In With Your Website Builder

Native sign-in is a partnership: the app starts the native flow, and your website's authentication system validates the result and creates the session. Where that second half lives depends on how your website was built. Find your platform below.

Lovable

Lovable apps have a built-in backend with authentication. Open your project, go to More → Users, and click Settings to manage sign-in methods — Google and Apple sign-in can be enabled there, and Lovable's documentation covers the details: Users and authentication. The same page shows the callback/redirect values your OAuth clients must use. If your project is connected to your own Supabase project instead, those settings live in your Supabase dashboard.

What to connect to App Casing: the Google iOS client ID you create for your bundle ID, and your Apple Team ID. Test by installing a TestFlight or internal-testing build on a real device and signing in.

Base44

Base44 apps come with built-in login pages and platform-managed authentication. Sign-in methods — including Google and Apple — are managed in the app editor; see Managing login and registration. Base44 can use its own managed Google credentials or a custom OAuth client you provide.

Confirm in your Base44 settings which sign-in methods are enabled and whether a custom OAuth client is in use before creating clients in Google Cloud. What to connect to App Casing: the same Google iOS client ID and Apple Team ID as above.

Bolt

Bolt projects typically add authentication through a Supabase integration, connected from your project settings under Account → Applications; see Supabase for databases. Once connected, sign-in providers and their callback URLs are configured in your Supabase project's authentication settings.

If your Bolt project uses a different auth setup, check your project's settings to identify the provider before creating OAuth clients. Then connect the Google iOS client ID and Apple Team ID in App Casing as usual.

Replit

Replit offers two authentication systems: Replit Auth (users sign in with their Replit accounts) and Clerk Auth (your own branded auth with providers like Google and Apple). The difference matters here — see Replit Auth. With Clerk Auth, provider credentials and callback URLs are managed in your Clerk configuration; with Replit Auth, sign-in is tied to Replit accounts rather than your own Google/Apple setup.

Identify which system your app uses before following Parts A and B — they apply to apps managing their own Google and Apple credentials.

Other website builders

Every platform with user accounts has an authentication provider somewhere: a built-in one, a connected service like Supabase or Firebase, or a custom one. Before following Parts A and B, confirm three things in your platform's settings or documentation: which provider handles your sign-in, where its callback or redirect URLs are shown, and whether it can validate native sign-in results from a mobile app.

If your platform's documentation doesn't answer those questions, ask its support or community before purchasing OAuth setup — and remember that most content websites without user accounts don't need native sign-in at all.

Part E: Testing and Troubleshooting

Native sign-in can only be properly tested on a real phone — browser previews can't show Apple's or Google's native sign-in sheets. Distribute a test build through

How to test

For iPhone, use TestFlight (part of App Store Connect). For Android, use a testing track in the Google Play Console. App Casing's publishing flow helps you get builds into both.

Then run through this checklist: first-time login (a brand-new user can create an account), returning users (signing in again lands on the same account), cancelled authentication (closing the sign-in sheet leaves the app in a clean state), invalid configuration (a wrong client ID fails with a comprehensible error, not a crash), expired sessions (the app handles a lapsed session gracefully), logout (signing out fully works), Apple private email relay (a Hide My Email user works like any other), Android signing differences (test the production-signed build, not only a development one), and testing versus production credentials (the build uses the credentials you intend to ship).

Common errors and fixes

Google redirect_uri_mismatch — the redirect URI in your OAuth client doesn't exactly match the one your app uses. Re-copy the exact value shown in your setup, including https, slashes, and trailing characters.

Google origin_mismatch — the page starting sign-in isn't in your authorized JavaScript origins. Add the exact origin, or correct a typo.

Google sign-in blocked inside a webview — expected behavior: Google blocks embedded webviews. Use the native sign-in flow rather than opening the web login inside the app.

Android sign-in fails but iPhone works — usually a missing or wrong SHA-1 fingerprint. Check whether the failing build is signed by Google Play App Signing; if so, use the fingerprint from the Play Console, not your development one.

Google asks for domain verification — complete it in Search Console (Part A, step 3) and allow time for DNS to propagate.

Apple Services ID problems — confirm the Services ID is configured with the right primary App ID, domains, and return URLs, and that you haven't pasted it where the bundle ID belongs (or vice versa).

Apple return URL mismatch — the return URL registered on the Services ID must exactly match the one your app uses.

Missing Apple capability — the App ID must have “Sign in with Apple” enabled, and the app needs a new build after configuration changes.

Sign-in succeeds but the app doesn't log in — the native flow worked, but your website's authentication backend didn't create a session. Check your platform's auth configuration (Part D).

Part F: Final Checklist

Google Cloud setup: project created and selected · branding configured (name, logo, support email, privacy policy URL) · domain verified if asked · audience set (external, published when ready) · basic scopes only (openid, email, profile) · the OAuth clients your architecture needs, with exact origins, redirect URIs, package name, and fingerprints.

Apple Developer setup: Developer Program membership active · App ID has Sign in with Apple enabled · Services ID configured if your flow needs one · private key created, downloaded, and stored securely.

Website authentication setup: your platform's sign-in methods enabled · its callback/redirect values used in your OAuth clients · the backend validates native sign-in results.

App Casing configuration: Google iOS client ID and Apple Team ID entered under Configure → “Google & Apple accounts” · configuration saved.

Real-device testing: TestFlight and Play Console test builds installed · the full testing checklist from Part E passes on both platforms.

Publishing readiness: a new app version generated after the sign-in configuration · store listings submitted for review · no expectation of guaranteed approval — Apple and Google decide.

When a New Native App Version Is Required

Sign-in configuration lives inside the app itself, not on your website. That means adding native sign-in — or changing its native settings — generally requires generating a new app version and submitting it to the stores for review, just like any native change.

The good news: new versions are included in your one-time App Casing payment, so this never costs you another fee. Our guide on when website updates require a new app version explains the distinction in detail.

Frequently Asked Questions

Can I use the same Google setup as my website?

Partly. You can use the same Google Cloud project, but a mobile app needs its own OAuth client configuration — including platform-specific details like the Android package name and certificate fingerprints. App Casing shows you exactly which values to use.

Do I need a Mac?

No. App Casing builds your app in the cloud on your own GitHub account. Apple and Google sign-in setup happens in their web-based developer portals, which work in any browser.

What if my app is already live?

You can add native sign-in to an existing app. Because it's a native capability, you'll generate a new app version and submit it for review — included at no extra App Casing cost.

What happens when I update my website?

Website updates appear in your app automatically, as always. Sign-in configuration only needs a new app version when you change the native sign-in settings themselves.

Do I need both Apple and Google developer accounts?

You need the account for each store you publish to: Apple Developer ($99 per year) for the App Store and Google Play Console ($25 one time) for Google Play. Each platform's sign-in is configured in its own portal.

Ready to Add Native Sign-In?

App Casing helps you create iOS and Android apps without coding or complicated development tools.