authorize method

void authorize()

Redirects the browser to the authentication URI.

Implementation

void authorize() {
  window.localStorage.setItem('openid_client:state', flow.state);
  window.location.href = flow.authenticationUri.toString();
}