Hiding Realm app id from the public

I am doing a React app project that gets it’s data using Mongodb Realm. Is there a way that is used to hide the Realm-app-id from users?

Hi @Chamu_Mutezva ,

I guess to store it in a secret service or an environment variable and provide to the code.

Having said that, if you limit the allowed origins And use authentication for your users , the app id is not that of a secret. Just like a repo name…

Therefore, there is no real reason to hide it.


1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.