My app is public. I registered an embed app and want to use Storefront GraphQL. On install I generate storefront token by
mutation {
storefrontAccessTokenCreate(input: {
title: "Pact Act"
}) {
storefrontAccessToken {
accessToken
}
userErrors {
field
message
}
}
}
Then I save it in my app database. Question: how can I access this storefront token stored in my app database? I came up only with one idea: use fetch to my app to get this token and then use it further for next fetch. However this approach is too ugly in my opinion.