Bubble. Setting up authenticated API endpoint
Options
![Vitali](https://us.v-cdn.net/6037124/user_avatars/2679721.jpg)
Vitali
Member ✭
Hi
I am trying to set up some endpoints in Xano to be used in Bubble.
The issue is described in image below
[image.png]"Get user" call works fine, while "All users" does not.
I used "rental marketplace" template to get started and added a couple of columns to the user table.
The endpoint works fine in Run&debug
[image.png]
If I remove user authentication requirement then I get a successful response back in Bubble.
I have watched many different videos and tried to google the issue, but no luck 🙂
Probably just a stupid noob mistake, but I do not see it.
Hope someone can help me to figure this out.
I am trying to set up some endpoints in Xano to be used in Bubble.
The issue is described in image below
[image.png]"Get user" call works fine, while "All users" does not.
I used "rental marketplace" template to get started and added a couple of columns to the user table.
The endpoint works fine in Run&debug
[image.png]
If I remove user authentication requirement then I get a successful response back in Bubble.
I have watched many different videos and tried to google the issue, but no luck 🙂
Probably just a stupid noob mistake, but I do not see it.
Hope someone can help me to figure this out.
Comments
-
You want to define Authorization: Bearer (token) in the headers section - not parameters
-
Thanks Michael. 🙂 Problem solved.
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