Consumer App Portal read only mode #1281
-
Are you able to provide details on which features are/are not available in read only mode for the Consumer App Portal? Unless I'm doing something wrong, in my testing I've found that in rea only mode I can:
Is that to be expected? Is there any way in the Consumer App Portal to stop a user from modifying endpoints? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
This shouldn't be the case. CC @svix-lucho to check this out. |
Beta Was this translation helpful? Give feedback.
-
@dariom resending messages is allowed in the read-only mode of the App Portal. As for the edit/create operations on the endpoint, you should see something like this: I just verified it and it seems to be working as expected. Can you make sure that you enabled read-only mode for the environment your app portal belongs to? Also, when making a change that affects the app portal, to see your change, you need to log in to the app portal from scratch again (using |
Beta Was this translation helpful? Give feedback.
-
Hi, Apologies for piggybacking on Dario's question, however it's closely related so I think it makes sense. As we're exploring embedding the portal into one of our apps, we noticed that the URL we get back from the Get Consumer App Portal Access endpoint contains a few query-string parameters, most specifically We found that if we remove this query string parameter, then the portal becomes editable — we've made sure to do these tests in incognito/InPrivate windows with no cookies or data in local storage. It looks to us that given this is all happening client-side, it could mean someone could get access to an editable portal, which we want to avoid as we're enforcing limits through our API, like the maximum number of endpoints for an application. I took a quick look, and it looks like we exchange the one-time token for a token; Would it be possible to look up the portal settings during this operation and issue a read-only token, so that even if the UI doesn't show the buttons disabled, the operations would fail when reaching the server? I appreciate it's surely more complex than this, but I didn't want to come "empty-handed" to the conversation. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
@dariom resending messages is allowed in the read-only mode of the App Portal.
As for the edit/create operations on the endpoint, you should see something like this:
I just verified it and it seems to be working as expected. Can you make sure that you enabled read-only mode for the environment your app portal belongs to? Also, when making a change that affects the app portal, to see your change, you need to log in to the app portal from scratch again (using
app.svix.com/login#key=...
). Just refreshing the page is not enough.