implements a news helpers on the JS Client to be used by the Web UI to add OAuth2.
NXP-27730 Implements the OAuth 2.0 Implicit Grant flow
NXP-27731 Implements the OAuth2 flow (implicit grant type) in Web UI