Join the Webstudio community

Updated 2 months ago

Access Token Security Considerations

At a glance

The community member who posted the original question is asking whether storing an access token as a string on the global root is still secure, or if it needs to be part of a resource. The comments suggest that only Resource and GraphQL can securely store secrets, and that the access token should not appear in client code if not rendered in a prop or text content. However, there is no explicitly marked answer to the original question.

If I put an access token on the global root as a string, is it still secured or is that only if its part of a resource?
R
B
3 comments
Seems that only Resource and GraphQL can store secrets?
It should not appear in client code if not rendered in some prop or text content
Add a reply
Sign up and join the conversation on Discord