CORS Error when setting up AuthMe API in AppGyver Data Configuror
Options
![Lucas Tate](https://us.v-cdn.net/6037124/user_avatars/1372169.jpg)
Lucas Tate
Member ✭
I am trying to set up user authentication tokens in AppGyver but when I try to pull a test, I receive the following response.
Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined
I have had no trouble up to this point setting up authentication using Xano to this point so I am quite confused on what is happening. The API is also working when testing in Xano.
Thank you for your help in advance.
Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined
I have had no trouble up to this point setting up authentication using Xano to this point so I am quite confused on what is happening. The API is also working when testing in Xano.
Thank you for your help in advance.
Comments
-
Hi Lucas,
It sounds like there is an issue with the set up of the API in AppGyver since all Xano APIs are CORS enabled. But it's always good to do what you did and do a sanity check in Xano/Swagger to see if the API is all good. I'd point you towards AppGyver's support or Steve Stava's YouTube channel as he has many tutorials covering using Xano+AppGyver specifically together -
I have been following Steve's videos and following his steps, but I am still running into the CORS issue. Could the issue be because I am on the explorer plan?
-
Nope that wouldn't affect anything in that regards
-
In the past I had something similar related to CORS and Appgyver and I installed a plugin on chrome : https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf?hl=en
Followed the instructions and had no more CORS issues. Take a look and see if helps you! -
I had the same problem Lucas.
I fix it adding the "Bearer " in the beginning of token on Data Configurator > Base > HTTP Header.
Authorization
"Bearer ax0zd8ura0er8934helfahf390uy43wa..."
Let me know if you need some help, we can connect and I can help you.
Boa sorte ai! -
Winner!
Thank you, fixed my issue -
Authorization
"Bearer ax0zd8ura0er8934helfahf390uy43wa..."
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