Auth using Cookie with Xano
Options
tbb
Member ✭
I'm trying to figure out how to store returned auth token in httpOnly cookie and use it for subsequent auth requests to Xano. Does Xano accept httpOnly cookie as auth or does this have to be specifically Bearer XXXX in Authorization header?
Comments
-
Xano built-in auth uses the authorization header, but you can roll your own to do as you like! Cookies are just headers - you can read what the user sent, and update/change it for the trip back by looking at the header variable and setting the header (available under "utility functions") you want for the return. It's low-level so you need to know what you are doing, but Xano makes the power available to you!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback