Google login and Sign in with Apple in your Claude Code app
Claude Code apps typically use Whatever you built: Supabase, Clerk, Auth.js, Firebase. Email and password login works unchanged inside a WebViewGold app. Google and other OAuth providers block embedded WebViews, and Apple adds a rule of its own. Here is how to make every login method work in the app without changing your auth code.
From $109 one-time per platform, or let our team do it all from $698.
Approval guarantee – or money back within 14 days
No coding needed
One-time payment, free updates
24/7 human support
Made in Germany since 2014 · ISO 27001
9:41
CClaude Code
Google login and Sign in with AppleNow live in your pocket
App Store · Google Play Approved
The three login problems and their fixes
Google says "disallowed_useragent"
Google refuses OAuth inside embedded WebViews. WebViewGold's Social Login Helper detects the Google (and Facebook) login URL and runs that step in a dedicated login window with an accepted user agent, then returns to your app. One setting, no changes in Claude Code.
Apple Guideline 4.8
If the iOS app offers Google, Facebook or GitHub login, Apple requires an equivalent privacy-friendly option, typically Sign in with Apple. Enable the Apple provider in Whatever you built: Supabase, Clerk, Auth.js, Firebase, add the button, and WebViewGold handles the appleid.apple.com flow automatically.
Magic links open the browser
Email magic links and password resets open in Safari or Chrome instead of the app. Universal Links (iOS) and App Links (Android) in WebViewGold route links to your domain into the app and keep the session there.
Prompt for Claude Code
Paste this into Claude Code to implement the web-app side. Review the result, publish, then test inside the WebViewGold app.
Prompt for Claude Code
Prompt for Claude Code: Read https://www.webviewgold.com/llms-full.txt, then prepare authentication for the WebViewGold wrapper. 1) Add Continue with Apple to our auth provider configuration and login page next to Google. 2) Generate /.well-known/apple-app-site-association and /.well-known/assetlinks.json from TEAM_ID, BUNDLE_ID, PACKAGE_NAME and SHA256_FINGERPRINT values in CLAUDE.md, served as application/json, and add a script that curls both URLs on the production domain and checks status and content type. 3) Point magic-link and reset redirects at the production domain. 4) Add a Delete account flow that removes data and the auth record. 5) Create a seeded demo account for app review.
Make every login method work in the Claude Code app
About 30 minutes, mostly in the store dashboards.
Enable the Social Login Helper in WebViewGold
In Config.swift set google_login_helper_triggers (accounts.google.com) and facebook_login_helper_triggers; on Android use GOOGLE_LOGIN_HELPER_TRIGGERS in Config.java. Test the login inside the app.
Add Sign in with Apple
Create a Services ID and key in the Apple Developer portal, enable the Apple provider in Whatever you built: Supabase, Clerk, Auth.js, Firebase and add a "Continue with Apple" button next to Google. Nothing to configure in WebViewGold.
Route magic links into the app
Host the apple-app-site-association and assetlinks.json files on your domain, enable Universal Links / App Links in WebViewGold and make sure the auth redirect URL in Whatever you built: Supabase, Clerk, Auth.js, Firebase points to your domain. See the deep-link guide.
Add account deletion
Apple (5.1.1) and Google require in-app account deletion for apps with sign-up. Add a Delete account button that calls a backend function. See the account deletion guide.
Provide a demo account for review
In App Store Connect (App Review Information) and the Play Console (App access) enter test credentials so reviewers can see the logged-in experience.
Optional: biometric login on top
WebViewGold offers Face ID / Touch ID and Android biometrics from a JavaScript call (bioauth://). Gate the app on launch or protect sensitive screens.
Combine with a long-lived session in Whatever you built: Supabase, Clerk, Auth.js, Firebase so users unlock with their face instead of typing a password.
No. The Social Login Helper works on the native side by detecting the OAuth URLs. The only additions are the Sign in with Apple provider (required by Apple if you offer other social logins) and, for magic links, the domain files for Universal Links.
Is Sign in with Apple mandatory?
Only if your iOS app offers a third-party login such as Google, Facebook or GitHub. If users can only sign in with email and password or magic link, Guideline 4.8 does not apply.
Why does Google block the login in the app?
Google blocks OAuth in embedded WebViews for security reasons (the host app could read the credentials). The Social Login Helper runs the Google step in a trusted window that Google accepts and hands the session back to your app.
Does the session survive app restarts?
Yes. WebViewGold persists cookies and local storage, so Whatever you built: Supabase, Clerk, Auth.js, Firebase sessions behave as in the browser.
Three ways to get your app into the stores
Same result, different amount of work on your side. All three come with the approval guarantee and 24/7 human support.
Do it yourself
$109 per platform, one-time
The WebViewGold license: a finished Xcode or Android Studio project. Paste your URL, set name and icon, switch on features, build and submit. Free updates forever.
No Mac, no Xcode, no Android Studio: configure in the browser, we build both apps in the cloud and hand them to App Store Connect and the Play Console.
Send us your URL and icon. Our team configures, builds and delivers your app within 72 hours, white-label, with source projects. Both platforms for $1,158.