Auth API calling wrong endpoint
Options
hicksmadison
Member ✭
I have two authentication tables. The ‘users’ table authentication works. I created a second table 'staff' requiring authentication… with it I also created auth API: auth/login/staff and the auth/me/staff. When testing in adalo the auth/login/staff endpoint is working but it is calling the wrong endpoint. It is calling the auth/me (API for user table) and not auth/me/staff. Please help!
se help.
Tagged:
Answers
-
Hi @hicksmadison — this means that Adalo is currently set up to call /auth/me, you'll need to change this in Adalo to call /auth/me/staff. I would check where that API call is set up to trigger in Adalo and try changing it to the correct endpoint URL
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