djangoflutterdjango-rest-frameworkdjango-rest-authdj-rest-auth

Django rest authentication with email verification redirect to flutter app


How can I redirect a user to the mobile app developed in flutter after he has confirmed the authentication link sent by email? I need the token included in the link (same for password reset). Right now it takes me back to the django rest page. I am using dj-rest-auth and allauth to handle authentication in django.


Solution

  • you can use deep linking and dynamic links,

    enter image description here

    here the docs from firebase: https://firebase.flutter.dev/docs/dynamic-links/overview/