Authentication with Flutterflow
I have a project I created in Wappler with Postgress and Docker. I'm thinking about creating a native app in Flutterflow and I'm not sure how this would work for users. Could anyone tell me or send me material about authentication outside of Wappler?
Is there any more recent material on creating a native app in Wappler?
Thanks.
Hey! 
There's half of the tutorial of how to handle the JWT tokens 
JWT with wappler
Essentially, it involves signing and verifying your JWT tokens. You create an endpoint in wappler backend by signing a token which is handled in the tutotial above.
You then validate the token, using the token from authorization header such as sent from $_SERVER.HTTP_AUTHORIZATION when you make the call from fluterflow, you then use the token (stripping Bearer) against the key that was used to create the
Now, if they match, you get information, if not it will fail!
I do however, recommend to setup a proper refresh token flow to only keep your user tokens alive for an hour or so, constantly refreshing them!
I’m unfortunately too busy at the moment to write a complete tutorial for you. However, I’ll be connecting a JWT login flow to a FlutterFlow app later this week or next, so if you’re not in a rush, I can document it for you then.
However meanwhile, play around setting your needed custom values such as user id, email, role, etc via claims and play around! No custom server connect extension will be needed here, wappler handles it quite well, I am always using it in fluterflow and chrome extensions! Just take some time learning it and you'll master it 
Hi @Evaldas
Awesome. Good to know, and even better to implement it. I plan to do this in 30 days. So we have some time until then. I'll study what you've already shared with me and would be immensely grateful, and I might even pay you some money, to help me with this.
A tutorial would be great.
In time. Have you considered making a native app in Wappler? That would be even better.
Hugs and thank you very much.
I’d stick to flutterflow! The learning curve is much lower, the pub.dev library is far more vast than the capacitor’s and the pre-made component library is big enough to complete production app in weeks! It has hot reload feature that doesn’t require you to rebuild application for testing, direct deployment, it’s just a great product for mobile development! Shit for web apps though! 
2 Likes
Yes. You're absolutely right. Thank you again. And when you connect and can share an authentication tutorial, I'll be very happy 
Hugs from Brazil
1 Like