Skip to content

Improve authority validation #180

@sangonzal

Description

@sangonzal

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

Metadata

Metadata

Assignees

Labels

EnhancementA request or suggestion to improve some aspect of the library

Type

No type

Projects

Status

Done (in PR or next release)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions