-
currently, I'm sending the access token from the server to only logged-in users but, I feel this approach is not ideal and actually might be dangerous do you have any suggestions on how to secure the Mapbox access token? |
Beta Was this translation helpful? Give feedback.
Answered by
mattijsf
Sep 19, 2021
Replies: 1 comment 2 replies
-
I think you're doing it quite safe already. This way a compromised token can be renewed. You could add a layer of encryption to decrypt the keys on the client. But I the end, if someone wants to, the token can be obtained. What are you most worried for? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ferdicus
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you're doing it quite safe already. This way a compromised token can be renewed. You could add a layer of encryption to decrypt the keys on the client. But I the end, if someone wants to, the token can be obtained.
What are you most worried for?