OAuthResourceServerConfig: customUrlValidation not used when allowedUrls not set #593
Labels
bug
For tagging faulty or unexpected behavior.
future-version
Will be considered, but for a future version.
pr-welcome
We'd welcome a PR to solve the issue.
Describe the bug
1: The customUrlValidation function is not being called unless allowedUrls is definied.
2: When allowedUrls and customUrlValidation are definied, only customUrlValidation is used to verify the urls
To Reproduce
Use the resourceServerConfig from above.
Expected behavior
1: customUrlValidation should be used, even if allowedUrls is null/undefined.
2: if both customUrlValidation and allowedUrls are set, both should be used to validate the url.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: