lively-scientist-17848
05/11/2023, 11:33 AM❯ ory create oauth2-client --name "Demo Client" --redirect-uri <http://localhost:3000/oauth> --token-endpoint-auth-method none --scope offline_access,openid,email --grant-type authorization_code,refresh_token --project $project_id
CLIENT ID d2e25521-50a8-44c7-b690-46560179c152
CLIENT SECRET
GRANT TYPES authorization_code, refresh_token
RESPONSE TYPES code
SCOPE offline_access openid email
AUDIENCE
REDIRECT URIS <http://localhost:3000/oauth>
However when trying to edit this client using the web UI I’m then blocked from making any updates to other settings, as it looks like the frontend is doing some validation and doesn’t like the redirect_uri that’s already configured.
It would be good to have consistent validation and behaviour from the backend and frontend here.best-napkin-88358
05/12/2023, 3:35 PM<http://127.0.0.1> instead of <http://localhost> seems to work.lively-scientist-17848
05/12/2023, 3:36 PMbest-napkin-88358
05/12/2023, 3:38 PM