opencampus-xyz / ocid-connect-js

official SDK for connect with OCID
6 stars 6 forks source link

Redirect URI Not Allowed #17

Closed thigarette closed 2 weeks ago

thigarette commented 2 weeks ago

I had a question regarding the redirect URI. Our domain was whitelisted and we use a subdomain in our redirect URI e.g. redirect.example.com This was working just fine but we recently needed to switch the subdomain, e.g. newredirect.example.com and now get the "redirect uri not allowed" error when attempting the authentication flow. Screenshot from 2024-11-11 12-37-45 I'm confused as to why this is the case since our whole domain, e.g. example.com was whitelisted once we filled the App Whitelisting Form Kindly advise.

(I used example.com just for illustration purposes)

jackyquang commented 2 weeks ago

we dont whitelist subdomains on top of the main domains to prevent users to abuse the system. If you need new subdomains to be whitelisted, please add them to the form @thigarette

thigarette commented 2 weeks ago

Thanks for the clarification @jackyquang We'll add them to the form.