Ability to remove OpenID Redirect Uri Validation #16609
-
Right now the OpenId/Applications Edit/New page (Admin/OpenId/Application/Edit/) check to make sure that the redirect uris are valid uris and if they arent valid it removes them Is there a way to make it so it doesnt validate the uri ? I would like to use wildcards so for example https://127.*.0.1/signin-oidc and it isnt saving these uris. |
Beta Was this translation helpful? Give feedback.
Answered by
kevinchalet
Aug 22, 2024
Replies: 1 comment 6 replies
-
I don't know if this URL works. but the current API checks the URL validation |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'd also need your own
ApplicationController
as the built-in one uses input validation (and the default view models are decorated with[Url]
).Note: wildcards are illegal in OAuth 2.0/OIDC as the specs require using simple string comparison (the only exception is when using a native application: in this case, the port can be dynamic). You may want to adopt a different approach here.