-
Notifications
You must be signed in to change notification settings - Fork 155
Improve authority validation #180
Copy link
Copy link
Closed
Labels
EnhancementA request or suggestion to improve some aspect of the libraryA request or suggestion to improve some aspect of the library
Description
When creating a new application object, passing in "https://authority.com//tenant" fails with "java.lang.ArrayIndexOutOfBoundsException".
We should either:
- update authority validation logic should check that the value immediately after the first forward slash (the first value in the path) is valid, and if not throw a meaningful error
- Update authority creation logic to combine multiple forward slashes into a single forward slash
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EnhancementA request or suggestion to improve some aspect of the libraryA request or suggestion to improve some aspect of the library
Type
Projects
Status
Done (in PR or next release)