Unable to fetch app-sdk authData for External APIs call #1062
Unanswered
supreetha789
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a project where I need to retrieve app metadata from an external API using Saleor, and I'm encountering an issue with the data retrieval process. I'm hoping to get some guidance on this matter.
I am using saleorApp.apl.get(saleorApiUrl)) to fetch the AuthData(token and saleorApiUrl) and create GraphQL client but it's always returning {
token: "",
saleorApiUrl: "",
appId: "",
}
The code is in amplify server. Is there anything that I am doing wrong. Below, I've shared my code for further review:
Beta Was this translation helpful? Give feedback.
All reactions