Can I redirect back to my mobile app?

ColonialCricket9 months ago

I have managed to setup the auth_success_redirect from the widget back to my website. But what if I want to use the widget with my mobile app? Please help

terra

Jeffadmin9 months ago

Hey! You can easily redirect back to your mobile app using our widget and deep links!. You can set the auth_success_redirect to a deep link such as yourapp://on_auth_success and the widget will redirect you to that path in your app! We will also send the following pieces of information as query parameters: user_id, reference_id, resource i.e the device that was authenticated


ColonialCricket9 months ago

How would I go about creating a deep link?


terra

Jeffadmin9 months ago

Hi,

Creating deep links is platform dependent and varies per SDK, but here are some resources to help you. Ensure that when implementing the deep-links, you account for the query parameters that will be passed in when routing to another Activity/View in your app.

  1. Flutter SDK - https://docs.flutter.dev/ui/navigation/deep-linking
  2. Android - https://developer.android.com/training/app-links/deep-linking
  3. iOS SDK - https://developer.apple.com/documentation/xcode/deep-linking

ColonialCricket9 months ago

Thank you, can I not use the widget at all?


terra

Jeffadmin9 months ago

Of course, you can use our authentication REST endpoints


MuddyKingfisher5 months ago

Hii


Cookie Preferences

Essential CookiesAlways On
Advertisement Cookies
Analytics Cookies

Crunch Time: Embrace the Cookie Monster Within!

We use cookies to enhance your browsing experience and analyse our traffic. By clicking “Accept All”, you consent to our use of cookies according to our Cookie Policy. You can change your mind any time by visiting out cookie policy.