Natively Docs
Join our community 🔥
  • 👩‍🚀Getting Started
    • What is Natively?
    • Why Natively?
    • FAQ
    • Create Your First App
  • 🚀Natively Platform
    • 🚉Releases
    • 🖌️Appearance
      • 😼App Icon
      • 📱Loading Screen
      • 📱Error Screen
      • 🎨Style
    • 🎬Preview
    • ⭐Features
      • 🛳️Bottom Bar
      • 🚇Deeplinks
        • 🔥Firebase
        • 🔗Universal Links
        • 🌱Branch.io
      • 📍Geolocation
      • 🔔Notifications
        • 📲OneSignal Notifications
        • 🔥Firebase Notifications (Advanced)
      • 📒Contacts
      • 👩‍🎨Social Auth
        • 🍏Sign In with Apple
      • 💟HealthKit
      • 💰Purchases
      • 🤑Admob
      • 💳NFC
      • 📷Camera
      • 📂Photo Library
      • 🎤Microphone
      • 📈Analytics
        • 🕊️AppsFlyer
        • 😛Facebook
    • 🚚Publish
      • 🍏iOS App
      • 🤖Android App
    • ⚙️Settings
    • 🙈Subscription Plans
  • Guides
    • 🧋Integration (Native Features)
      • 🏅How to get started?
      • ℹ️Device
      • ℹ️Browser Info
      • 🛳️Bottom Bar
      • ✂️Clipboard
      • 🚦Push Notifications - OneSignal
      • 🚦Push Notifications - Firebase (Advanced)
      • 📍Geolocation
      • 📦App Storage
      • 🗝️Biometrics & Credentials
      • 📧Native SMS/Email
      • 📅Native Date Picker
      • 📸Native Camera
      • 🎙️Native Audio Recorder
      • 🈁Native Scanner (QR/Barcode)
      • 📔Contacts
      • 🍏Apple Sign In
      • ❤️HealthKit
      • 💸In-App Purchases
      • 🤑Admob
      • 💳NFC
      • 🥑Show Toast/Banner
      • ⏳Show/Hide Loading Screen
      • 🥑Haptic Feedback
      • 🖼️Share Media/Files
      • 📱Open an external App/URL
      • ✍️Request User's review
      • ↔️getInsets
      • 🎨Control Style & Colors
    • 🔍Troubleshooting
    • 🐈Setup RevenueCat App
    • 🚑Setup Admob App
    • 🚥Setup One Signal App
    • 🧑‍🤝‍🧑Setup website Universal Links (Deeplinks)
    • 🍕Testing & Submitting your app
    • 🔑Generate iOS Push Key (NEW)
    • 🔑Generate iOS Push Certificate (Legacy)
    • 🤝Affiliate program
    • 📕For Partners: Natively Brand Book.
Powered by GitBook
On this page
  • What is Social Auth?
  • How to set up Social Auth?
  • IMPORTANT!

Was this helpful?

  1. Natively Platform
  2. Features

Social Auth

PreviousContactsNextSign In with Apple

Last updated 1 month ago

Was this helpful?

What is Social Auth?

The Social Auth functionality enables Natively to manage third-party OAuth integrations directly within the application. To adhere to the policies of Google and Facebook, which prohibit developers from utilizing web authorization within WKWebView (iOS) and WebView (Android), Natively reroutes users to the official operating system browsers: Chrome (for Android) and Safari (for iOS). This measure is taken to circumvent potential security risks.

Currently, Natively accommodates social authorization exclusively for Google, Facebook and KakaoTalk. However, the scope for adding more options in the future remains open. Please share your suggestions for additional integrations by submitting a request .

You're required to integrate feature if you have any other social authorization.

How to set up Social Auth?

  1. Turn on the Social Auth feature in the Natively app dashboard.

  2. Turn on the feature.

  3. Enter your app domain - a domain that will be associated with your application (We need it to redirect users back to your app after authorization). For example, app.buildnatively.com.

  4. Setup (This step is very important! Otherwise, Social Auth will not work.)

  5. Make sure to enable

  6. Verify if Universal Links works. and .

  7. Rebuild your app

  8. Test

IMPORTANT!

You need to make sure your redirect URL for Facebook/Google has the same domain that you're using in Universal Links (This is needed to redirect the user back with an auth token in such url so that you can handle it in the web app)

For example, in Bubble you can turn on the generic URL in Facebook or Google plugins:

and, of course, update it on Google and Facebook developer accounts (if needed).

🚀
⭐
👩‍🎨
here
Sign In with Apple
Universal Links
Universal Links
iOS
Android
Associated Domain for iOS.