Hi. When I make calls to apis within the identity section, I need to send the oryAccessToken along. I'd like to know if this key is protected in production, because in the development environment you can see this key in the browser's inspect mode.
s
steep-lamp-91158
09/29/2023, 11:30 AM
You can always see the key in the browser, there is no way to hide it. The browser needs to have the key in clear text to be able to send it.
steep-lamp-91158
09/29/2023, 11:30 AM
Or what exactly do you mean?
steep-lamp-91158
09/29/2023, 11:31 AM
If you need to use the admin APIs in your front-end, you have to do this server-side, as otherwise everyone can just use your key.
f
fast-pizza-10456
09/29/2023, 9:58 PM
I thought that perhaps in a production environment this key would be hidden, even from the user's side, by the browser.
Thanks for your reply.