I want to preserve the requested URL by passing a state as described in the docs, but it fails for URLs that use matrix notation, e.g.:
this.oauthService.initImplicitFlow('/heroes;id=15;foo=foo');
tryLogin() splits the state on the semicolon character. Even using encodeURIComponent() isn't a solution because the method automatically decodes the URI component.
Maybe an option passed into tryLogin() like tryLogin({parseStateNonce: false}) could solve this issue?