Implemented validation for scope names (#486)
Add a more strict validation for scope names, with reserved keywords to avoid accidental conflicts with URL namespace.
Make the validation function reusable for use by routing middleware.
Add a more strict validation for scope names, with reserved keywords to avoid accidental conflicts with URL namespace.
Make the validation function reusable for use by routing middleware.