FlutterFlow Custom Authentication with Xano

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2024
  • In this video, we'll show you how to leverage FlutterFlow's new Custom Authentication feature with Xano. We'll walk you through how the API endpoints work in Xano, and then head over to FlutterFlow to build the authentication flow using Xano as your back-end.
    Xano - The Fastest No Code Backend Dev Platform
    www.xano.com
    Twitter
    / nocodebackend
    Subscribe to Xano's Channel for Weekly New Content
    / nocodebackend
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 31

  • @bilalrafi
    @bilalrafi 7 หลายเดือนก่อน

    thank you! really helpful and simply to the point video .. much appreciated!

  • @sitawk81
    @sitawk81 2 หลายเดือนก่อน

    Very helpful. Thank you.

  • @michaellaurenzi6054
    @michaellaurenzi6054 7 หลายเดือนก่อน +1

    great video! would I be able to add social logins to custom authentication using the same process?

  • @flyingB2
    @flyingB2 8 หลายเดือนก่อน +1

    Hi Chriss, thanks for the informative video👌
    Previously I used to store the userdata in App State for quick access, is this now being managed directly by FF? if yes can I automatically detect when the user session has expired to refresh the token or ask send them to redirect screen

    • @nocodebackend
      @nocodebackend  8 หลายเดือนก่อน

      Hey there! I'm definitely not a FlutterFlow expert by any means. I think in the implementation shown in the video, when the user's authentication token expires, they will be redirected back to the log in screen. I haven't tested how implementing refresh tokens would work, but that's probably something we should explore for a future video.
      In the meantime, I might recommend heading to our community at community.xano.com so you can speak with other FF+Xano users directly and get some good insight in the meantime. I'll explore putting a supplementary piece of content together about using refresh tokens.
      Thanks for watching!

    • @JosefHamstr
      @JosefHamstr 8 หลายเดือนก่อน +1

      @@nocodebackend Hey there :) Yeah please do so, I am also wondering how the token refresh works now, until now I just ran the auth/me endpoint on page loads and then refreshed the token whenever it expired. But of course these are all unnecessary api calls if the token would only be refreshed right before the expiry time. (if that is actually easily doable in flutterflow)

  • @ksrath1
    @ksrath1 5 หลายเดือนก่อน

    Great video, TYSM! Is this possible with auth0 (via Xano marketplace extension)? Or is it only possible for native Xano authentication?

    • @nocodebackend
      @nocodebackend  5 หลายเดือนก่อน

      Hi there!👋 Auth0 indeed exchanges authentication tokens with Xano, so as long as your front end can work smoothly with this authentication flow, you should be good to go!

    • @ksrath1
      @ksrath1 5 หลายเดือนก่อน

      @@nocodebackend Thanks for this...I actually posted a comment in the Xano community to Michael, because after watching the Google Auth0 w Bubble video I had more of an idea of your init & continue end points. But still a bit stuck

    • @nocodebackend
      @nocodebackend  5 หลายเดือนก่อน

      @@ksrath1 Could you please share the link to the Xano community question? We can review it to see if we can provide any further assistance.

    • @ksrath1
      @ksrath1 4 หลายเดือนก่อน

      Hi team@@nocodebackend I just noticed that my comment was removed or hidden, perhaps because I pasted a URL 😅
      The thread is titled 'How to use Xano's Auth0 extension in front end?' by Owsteen.
      Michael has given me some pointers, but I'm still stuck on how the authURL from 'init' gets decrypted & then passed to the 'continue' API in FF. So now with this custom authentication feature, we should be able to set the 'token' returned by 'continue' API as the user->authentication token? Apologies for the essay.

  • @harshmajithia2297
    @harshmajithia2297 5 หลายเดือนก่อน

    Do we have any vedio on custom authentication while using otp?

    • @nocodebackend
      @nocodebackend  5 หลายเดือนก่อน

      Hey there! For OTP, we this video and snippet: OTP 4-digit code SMS login - www.xano.com/snippet/gORBRj22/

  • @MTGameMaker
    @MTGameMaker 2 หลายเดือนก่อน

    thanks for this but what to do when my token is expired?

    • @nocodebackend
      @nocodebackend  2 หลายเดือนก่อน +1

      If your token expires, you can refresh it to continue accessing the API securely. Alternatively, the user would need to log in again to receive a new token. For more information on how to rotate or refresh JWE tokens, check out this post: community.xano.com/start-a-discussion/post/rotate-refresh-jwe-tokens-VJA4ndyjjXBn0Ti

  • @user-kt7ob1uw9h
    @user-kt7ob1uw9h 5 หลายเดือนก่อน

    how to manage this custom auth in flutter web using flutterflow? I'm using custom backend with phone number OTP login and i'm getting the access token as a response and i saved it in auth user as per docs but when i refresh the page after login it redirect me to login page in flutter web

    • @nocodebackend
      @nocodebackend  5 หลายเดือนก่อน

      Hi there! This question is related to Flutter web using Flutterflow. Since this involves a technical issue related to that specific platform, it would be best to seek assistance from Flutterflow directly.

  • @o_Gui_Oliveira
    @o_Gui_Oliveira 4 หลายเดือนก่อน

    is it possible to login with username instead of email?

    • @nocodebackend
      @nocodebackend  4 หลายเดือนก่อน +1

      Hi there! To enable login with a username, you'll need to add a username field to your database and adjust the auth process to verify usernames instead of emails. Remember to update your front end to include a username input field for user sign-up and login. If you have any additional questions, reach out to us in the Xano Community: community.xano.com/ 😊

  • @AlexMoorhouse
    @AlexMoorhouse 8 หลายเดือนก่อน

    Hey mate, I tried to duplicate this but for some reason the result in Run & Debug only returns the authToken, no id, name, email etc. I found that you didn't cover the response (unless I missed you talk about it) and changed it to replicate what you may have "return user as self" that returned the other fields, but it seems to have some crazy multi layerd nested encryped json..

    • @AlexMoorhouse
      @AlexMoorhouse 8 หลายเดือนก่อน +1

      @danielhabibi Daniel helped me in his Discord channel with this, turns out I had my step 6 update variable authToken path name set to variable instead of text. Cheers

    • @Viju489
      @Viju489 3 หลายเดือนก่อน +1

      @@AlexMoorhousehi, sorry but how exactly did you fix this!

    • @E2dbro
      @E2dbro หลายเดือนก่อน +1

      @@Viju489 DId you manage to resolve this?

    • @Viju489
      @Viju489 หลายเดือนก่อน +1

      @@E2dbro nah bro, moved onto another backend

  • @Viju489
    @Viju489 3 หลายเดือนก่อน

    Hi, I’m getting null response for name and email?

    • @nocodebackend
      @nocodebackend  3 หลายเดือนก่อน +1

      Hi there! To help us assist you more efficiently, could you post your question in our community (community.xano.com/)? To give us a better understanding, please include any relevant screenshots or a short Loom video to show us exactly what you're experiencing. Thank you so much!

  • @almantas.gaizauskas
    @almantas.gaizauskas 3 หลายเดือนก่อน

    How would you implement a google sign up?

    • @nocodebackend
      @nocodebackend  3 หลายเดือนก่อน

      Hi there! Check out this video, "Connect to FlutterFlow: Google OAuth (Google Sign-In)," and let us know if it's helpful. 😊
      th-cam.com/video/eEbAWpAWbfo/w-d-xo.html

    • @almantas.gaizauskas
      @almantas.gaizauskas 3 หลายเดือนก่อน

      @@nocodebackend well this video only works for web based app, not native. Is there a way to do it with a native approach?

  • @Defante-tn2lo
    @Defante-tn2lo 4 หลายเดือนก่อน

    go slow pls

    • @togugram
      @togugram 4 หลายเดือนก่อน

      Just change the playback settings to the slowness level you want.