Save token to current user
Hello, I often save my Xano token in local storage. But it has less performance.
I've seen everywhere that it's better to save the token in the current user, but that doesn't work for me. Do I need to do something with the privacy rules so that I can save the token in the current user without the user being logged in from Bubble?
Answers
-
Hi @Prince NZANZU I'm not a
XanoBubble expert but I don't think the privacy settings come into play here. I might recommend you check out the Xano Connector Bubble Plugin that Eli launched a few weeks back. It should have authentication handled nicely in there. -
To be clear, @Michael Udinski is very much a Xano expert! (I suspect he meant he's not a bubble expert).
The issue with performance in bubble and Xano is that the Bubble API connector runs on Bubble servers. That means making a call to Xano means your front end calls up Bubble's server, then the Bubble's server calls Xano, then Xano replies to Bubble's server and Bubble's server replies to you.
Whew! That's a long trip!
@Eli Beachy made the plugin to allow the front end to call Xano directly, cutting out those stops along the way. Cutting out the middleman for the transactions will make a much bigger difference in your performance than changing how you handle local credentials.
-
Thank you for that call out @Ray Deck π
Categories
- All Categories
- 46 π£ Announcements
- 47 π¦Ύ Releases
- 36 π Welcome
- 924 π€· Help! I'm a Noob
- 113 π± No-Code Front-Ends
- 597 π Working with APIs
- 418 π’ Transforming data
- 120 π Connect Xano to ...
- 46 π§βπ» Find an Expert
- 320 βOther questions
- 32 π Security
- 22 βοΈ Snippets
- 19 π Showcase
- 7 π£οΈ ο»Ώ Xano Chatter
- 60 πΊ Video Tutorials
- 166 π Request a feature
- 219 π Report a Bug
- 19 π Templates & Extensions
- 6 π¬ Feedback