Embed Featurebase into mobile app
Learn how to embed the Featurebase board in your mobile app and automatically log in users with Single Sign-On (SSO).
Written By Bruno from Featurebase
Last updated About 1 month ago
π¨βπ» You'll need to write custom code for the setup process. If you're uncomfortable with this, share this guide with a technical team member who can assist.
Create a WebView
You can use the following URLs:
Feedback - https://yourorg.featurebase.app/
Roadmap - https://yourorg.featurebase.app/roadmap
Changelog - https://yourorg.featurebase.app/changelog
Help center - https://yourorg.featurebase.app/help
Then, proceed to create a WebView with that URL.
Additional options
You also have some options to the follow options to customize how your Featurebase portal should be shown:
hideMenu=true- This hides the Featurebase portal menu so you can add your ownhideLogo=true- This hides the logo from your Featurebase portal menu
Example usage: https://yourorg.featurebase.app/roadmap?hideMenu=true
Automatically log in users with SSO
By passing an additional ?jwt parameter to your WebView URL, you can automatically log users in.
This requires you to create a JWT token server side and pass it into the URL.
Hereβs a quick rundown of what you need to do:
Generate a JWT by following the JWT Creation Guide. Store it on your server and make sure to not share it with anyone!
When a user wants to use the widget, send a request to your server to generate a JWT token.
On your server, generate a JWT token with your customer data using the example below.
Finally, use this JWT token in the WebView url for authentication:
https://yourorg.featurebase.app/?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...