When you set up SSO in the Meta Quest developer dashboard, there is only one input field for the redirect URI, so it looks as if you can't register more than one.
In fact, multiple redirect URIs are supported.
Multiple URIs are displayed as a comma-separated list like this:
https://localhost:3001/auth/meta/callback, https://dev.example.com/api/auth/meta/desktop/callback/, https://prod.example.com/api/auth/meta/desktop/callback/
If you're registering from the input field, try this format. Note, however, that in this test I registered them through the GraphQL API; registering directly from the input field has not been verified.
Also note that every redirect URI must use HTTPS. localhost is no exception.
How I confirmed that multiple URIs can be registered
I inspected the GraphQL request sent when saving the SSO settings, using the Network tab in Chrome DevTools.
In the payload of OCDevManageOrganizationSSOViewMutation, whitelisted_redirect_uris was defined as an array.
{
"whitelisted_redirect_uris": [
"https://localhost:3001/auth/meta/callback",
"https://dev.example.com/api/auth/meta/desktop/callback/",
"https://prod.example.com/api/auth/meta/desktop/callback/"
]
}
When I sent the request with three URIs, it was saved without errors, and after reloading the page the placeholder showed all three URIs separated by commas.
At the very least, Meta Quest SSO appears to support registering multiple redirect URIs.
