You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in this answer on Stackoverflow - https://stackoverflow.com/a/58882407/8466583 , Publishable API keys on capacitor apps can be protected via setting hostname to your domain and then whitelisting that domain. A potential pitfall with this approach is that anyone can deploy a capacitor android app with hostname set to the whitelisted domain, get the API Keys and send requests to the API.
Am I missing something? or is there a workaround to this?
This discussion was converted from issue #5581 on April 26, 2022 09:10.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
As mentioned in this answer on Stackoverflow - https://stackoverflow.com/a/58882407/8466583 , Publishable API keys on capacitor apps can be protected via setting hostname to your domain and then whitelisting that domain. A potential pitfall with this approach is that anyone can deploy a capacitor android app with hostname set to the whitelisted domain, get the API Keys and send requests to the API.
Am I missing something? or is there a workaround to this?
Beta Was this translation helpful? Give feedback.
All reactions