Bravo Studio Help Center
  • Get started with Bravo Studio 👏
  • Get Started
    • 🚀Create your first app
    • 🌟Bravo introduction
      • Get ready to create your app with ChatGPT
      • Create an app
        • Creating an app with Figma
        • Creating an app with Adobe XD
      • Duplicate an app
      • Delete an app
      • Replace linked Figma file
      • The app page
      • Sharing your app
      • Add an editor to your app
      • Fonts
        • Adobe XD - Supported fonts
    • 📱Bravo Vision previewer
    • ✨Unlock power features to create interactive apps
    • 🎓Help and tutorials
      • 📖App guide tutorials
        • Sample app tutorial: Your first binding
        • How to build a Fitness app with Bravo, Xano and RevenueCat
        • Foodgram: Social content sharing
        • Expedition journal: Write and share your adventures
        • My Subscriptions: Display data based on device ID
        • My Notes: using user ID and email from Firebase
        • My Store: Sell physical products with Bravo and Stripe
        • Titan: How to create a Smart Home App with No-Code?
        • n8n: Building an expense tracking app in 10min
      • 📺Learn with videos
      • 📚Learn with articles
      • 🗃️Browse by app feature
        • Save or "bookmark" a page
        • Backend search with Airtable
        • Backend search with Xano
        • Nested lists (list within a list)
        • Create and edit user profile (Firebase + Airtable)
        • Skeleton loader
        • Create albums in your app with Bravo Infinite images
  • Set up your design
    • 🖌️Get your Figma ready for Bravo
      • 🗃️Structuring the design: the layer hierarchy
      • 🪄Bravo Tags: adding functionality to the UI elements
      • 🧱The container
        • Setting up a container on Figma
        • Setting up a container on Adobe XD
      • 📲App navigation
        • Setting up app navigation on Figma
        • Setting up app navigation on Adobe XD
    • 🔌Bravo plugin for Figma
    • 💾Sample design files
    • 🤓Best Practices
  • App components
    • 📒Bravo Tags Master List
    • 🚪Menus
      • Modal Menu
      • Modal pages
      • Tabs Menu
      • Pop Up pages
      • Slide Menu
    • 🍞Pages
      • Modal pages
      • Pop-up pages
      • Swipe page
      • Transitions page
      • Page reveal animations
      • Page tabs
      • 🔮Stateful pages
    • 📦Containers
      • Swipe to delete
      • Top bar
      • Carousel slider
      • Aspect ratio relative to screen
      • Sortable List
      • Layer (sticky element)
    • 👋Intro & Onboarding
      • Intro page
      • Post-login page (Onboarding)
    • ⌛Loading experience
      • Loading page
      • Custom loading page
      • No loading
      • Preload
    • 📝Form & input fields
      • 👁️Password Visibility Toggle
      • 🩷Stateful input
        • ☑️Checkboxes (Multiple select)
        • ✅Required Checkbox
        • 🔘Radio buttons (Single select)
      • ⏳Input time Interval
      • 📄Dropdown selector
      • 🎚️Slider control
      • 🗓️Calendar picker
      • 📄Send form input to a database
    • 💎Components
      • Autoplay Video
      • GIF
      • SVG Component
      • Web view
      • Web Components using AI
      • Web view communication
      • LottieFile
      • Lottie-animated component
      • Flexible text (Flexo)
      • Zoomable image
      • Component states
      • Stateful component (like button)
      • Setting up the backend of Stateful component (like button)
      • Haptic Feedback (Buzzz)
      • Progress bar
      • Rich text
      • Date, Time and Currency Formatter
      • Scrollable text
      • Text Lines & Truncation
      • Status bar
    • ⚡Mobile actions
      • Mobile Actions
      • Play audio
      • Record audio
      • Play video
      • Scan QR code (external URL)
      • Scan codes (remote action)
      • Search & filter
      • Refresh page
      • Share location
    • 📱App Icon & Splash Screen
    • 🗺️Map with markers
    • 📈Charts
  • Data and Backend
    • 🗂️Set up a no-code backend
      • Xano
        • Nested lists (list > list > detail page) with Xano
        • Create a bookmark functionality with remote actions and device ID with Xano
        • Multi-user setup with Xano
        • 🔒Setting up the Xano Log in Snippet
          • ♻️Refresh Token
      • Airtable
        • Nested lists (list > list > detail page) with Airtable
        • Sort list with Airtable
        • Connect multiple tables from Airtable to one app
        • Update Airtable's API key to Access Token
      • Backendless
      • Bubble
      • Notion
        • Getting data from a Notion table
      • Firebase
        • Getting data from Firestore
    • 💾Set up API requests
      • Set up from scratch
        • Airtable
          • Set up an API GET request for list page - Airtable
          • Set up an API GET request for detail page - Airtable
          • Set up an API POST request - Airtable
          • Set up an API DELETE request - Airtable
        • Xano
          • Set up an API GET request for list page - Xano
          • Set up an API GET request for detail page - Xano
          • Set up an API PATCH request - Xano
          • Set up an API POST request - Xano
          • Set up an API DELETE request - Xano
      • Using GraphQL body type
      • Set up with API wizard & importer
        • Using the Airtable API Wizard
        • Using the Xano API wizard
    • 🎲Variables
      • Built-in variables
      • Set Variable
    • 📚Data Collection & Binding: Complete Collection
    • 🗂️Pagination
    • 🐛Debugging API issues
      • ⚙️Debugging requests in the API Collection
      • 📲Event logger
      • 🔗Link property
  • Data binding
    • 🤝Data binding types
      • API binding types
      • Bind multiple API requests to one screen
      • How to connect my API to a mobile actions
      • Remote actions: trigger an API request with a UI element
    • 💡Display data in your app
      • Bind data to design for a list page
      • Bind data to design for a detail page
    • 🆕Create data from your app
    • 🗑️Delete data from your app
    • 🚦Conditional Visibility
    • 🎛️Conditional Actions
  • Integrations & Settings
    • 🖇️Deep Links
      • 🖇️Deep Links for Bravo Vision
      • 🖇️Deep Links for published apps
      • 🖇️Troubleshooting Deep Links
    • 🔔Push Notifications with OneSignal
      • How to get a Bravo page URL
    • ⚙️Firebase Configuration
    • 🔐User Authentication
      • 🔑Authentication with Kinde and Xano
      • 🧙🏽Authentication with OAuth 2.0
        • Using social logins to authenticate users
        • Using AWS Cognito to authenticate users
        • Connecting to Spotify API
      • 📲User login with Firebase
        • ✉️Email and password Login with Firebase
        • 📞Phone Login with Firebase
        • 🍎Social Login with Firebase
        • 👻Anonymous Login with Firebase
      • ⛓️Authentication with custom backend
        • Set up Xano as your user authentication backend
    • 💰Stripe: One-time Payment
    • 💬Chat: CometChat
    • 💸RevenueCat: In-app purchases and subscriptions
    • 📉Bravo Analytics
    • 📳Facebook App Events
    • 📊Google Analytics
    • 🌐Multilingual apps
    • 🕸️How to connect with Webflow API
    • 📡NFC connection
    • 🎯Admob
  • App Publication
    • 🚀Publishing your app
      • iOS Publication: Complete Process
        • 1. Generate Certificates, AppIDs and Provisions
        • 2. Get the IPA
        • 3. Upload IPA to App Store Connect
        • 4. Test your app on TestFlight (optional)
        • 6. App Store publication
        • 7. Updating an app in the App Store
      • Android Publication: Complete Process
        • 1. Create a Keystore File (optional)
        • 2. Get the Debug APK to install
        • 3. Install the Debug APK in your device
        • 4. Get the AAB (Android App Bundle) file to publish
        • 5. Google Play publication
        • 6. Updating an app in Google Play
      • Android APK Installation Guide
      • Rejection from the app stores
    • 🎛️Making changes to your app after publication
    • 🛍️Versioning
    • 🌟App rating alert
  • Good to Know
    • 🤔Troubleshoot
      • Errors when logging in
      • Errors when creating an app
      • Errors in API requests
        • Request timeouts on Bravo
      • Errors after importing
      • Errors in publication form
    • 🧑‍💻Manage your account
    • 💳Billing
      • Bravo Subscription Plans Overview
      • App Add-ons
      • Upgrading a plan
      • Downgrading a plan
      • App allowance
      • Invoices & payment method
      • FAQ
    • ❓FAQs
      • About Bravo Studio
      • Importing a design file
      • Bravo Vision
      • Bravo Tags
      • API & Data Library
      • Login & Account
      • Other Features
  • NEED SOME HELP?
    • 📖Bravo Support Guide
    • 🤝Join the Bravo community
    • 🤖Bravo Assistant
    • 👥Production support
    • 🐞Report an issue
Powered by GitBook
On this page
  • 1. Setting up your Figma design
  • 2. Setting up Kinde
  • 4. Setting up Xano

Was this helpful?

  1. Integrations & Settings
  2. User Authentication

Authentication with Kinde and Xano

In this tutorial, you will learn how to set up simple passwordless authentication using Kinde. This feature will help you secure your app content visible only to authenticated users.

PreviousUser AuthenticationNext🧙🏽Authentication with OAuth 2.0

Last updated 2 months ago

Was this helpful?

What you will need:

  1. Figma design ( and duplicate it to your drafts).

  2. Bravo Studio Solo account

  3. Kinde account (Free)

  4. Xano account (Free)

1. Setting up your Figma design

In your Figma design, you will need to design and set up a sign in page.

The top layer frame must have the [page:login] Bravo Tag. Additionally. You need to add a Sign in button with the [action:login] Bravo Tag.

In our example, we are creating a company directory which is only accessible to authenticated users. Using the prototyping tool, we select what will be the first page an authenticated user will see. For that we add the Flow 1 to the corresponding page:

We are now ready to import our design to Bravo Studio.

2. Setting up Kinde

You can create a free account here. These steps are really important since you will use some of this info later.

After creating your account, you start by selecting from scratch and follow the instructions.

Select "Other back end”.

Add Bravo Studio, although this step is optional.

In this example we will choose email as the way your users will authenticate.

Next, choose “no thanks”. You won't connect your code base.

Now, we need to add “Allowed callback URLs” to our Kinde app. In order to do this we need to view details of our Kinde app and get these URLs from Bravo Studio where we will also switch on our authentication integration. In Bravo Studio, inside your newly imported project, go to Integrations.

In the Integrations tab, enable OAuth 2.0 and click “Show” in order to see the Bravo callback URL’s.

Copy all three URL’s (one by one) and add them to your Kinde app list of “Allowed callback URL’s”. To do this, in Kinde, click on view details of your app.

Enter the Bravo call back URL’s:

🚨Make sure none of the URL’s end with “/’.

Once you have added the callback URL’s you can click “Save”.

Next, we will add our Kinde Client ID and Client Secret key to our Bravo Studio authentication configuration. You will also find them in your Kinde app detail page:

Enter your Client ID and Client Secret key in your Bravo Studio project Authentication configuration. You will notice that some fields are also required on this page therefore keep this window open for now since we will retrieve the missing fields (Authorize URL, Token URL and User Info URL from our Xano set up later.

4. Setting up Xano

To make this step easier, we have created a Xano Snippet for you. If you haven't created your Xano account yet, follow these steps. If you already have one, you can jump to the Snippet installation step.

Sign up and go through the Xano onboarding process.

Installing and setting up Bravo External Oauth / Xano Snippet

This snippet allows Bravo Studio to connect to external oauth providers like Kinde or Auth0 and does a token exchange.

Go to your Instance:

Head to Marketplace and select Purchased to further configure the Snippet:

By now, our installed snippet has created our Oauth API end points which we will copy and add them to our Oauth 2.0 configuration in the Bravo Studio authentication tab.

In Xano, go to API:

Select the GET auth/me API end point:

Add the copied API endpoint to User Info URL in Bravo Studio authentication configuration:

We continue in Xano for one last step. We go back to our API’s and select to open our external_token API endpoint:

We click to expand section 2. Function stack and scroll down till 1.8 and click to open:

Once open, we make sure to select our External_user table with its corresponding table number and click save.

Name your Data collection:

Open the Data collection settings:

Move over to the Authentication options and select: “ Use settings application (OAuth2) and click save:

Hit copy API end point:

At this point, Bravo may redirect you to Kinde to sign in and authenticate via Kinde which at this point if everything is set up correctly, you will see that the received data is coming back under Received Data:

At this stage, we have set up our Kinde account and kinde app.

Select build an app.

Select start from scratch:

Name your workspace, select front-end, select Bravo Studio and hit create workspace:

Install Snippet 👉

Add to you Xano account:

Add to your Instance:

Select the snippet and hit install snippet:

Go to Manage snippet:

Back in Kinde app details, copy your Domain:

Insert your domain in Environment Variables (without https://) and hit save.

Copy API end point:

Back in Xano, hit back and select the GET external_auth API end point and also, copy its API endpoint and add it to Bravo Studio:

Lastly, in Xano, head back to your API group and select the external_token API end point. Copy the API endpoint and add it to Token URL field in Bravo Studio:

While in Bravo, we will also fill the Scope with: "openid email profile offline" and hit “Save”:

In order to reflect the changes, you must hit the publish button:

Next, we will create a Data Collection in Bravo Studio and add our GET auth/me API endpoint. To do this, In Bravo, go to the Data Tab:

Create a new collection from scratch:

Back in Xano, copy the auth/me API end point. For this again we go to API’s, select to open auth/me end point:

Back in Bravo Studio, we add the copied API end point to our GET request and we hit “Send”:

🔐
🔑
https://www.xano.com/snippet/18XwHRV2
You can use our Figma design used for this tutorial
Kinde