romainbessugesmeusy / netlify-plugin-auth0-patch-urls

A Netlify Build plugin that makes Auth0 works with deploy previews
MIT License
7 stars 3 forks source link

Bug: We set allowed_clients but that isn't something that is about origins/URLs #11

Closed alexrussell closed 4 years ago

alexrussell commented 4 years ago

The plugin sets allowed_clients on the Auth0 client, but while I don't know what it refers to in the Auth0 client (application) UI, the API docs suggests it's not related to origins/URLs:

List of allow clients and API ids that are allowed to make delegation requests. Empty means all all your clients are allowed.

Is it a bug that the plugin sets this to be the preview URLs?

romainbessugesmeusy commented 4 years ago

I'd say it's something that I tried at first and stayed without being questioned. For reference, here they are in the UI. Will be deleted in 1.2.0 Capture d’écran 2020-06-03 à 10 50 11