Skip to content

Passing a state that contains a semicolon #167

@mikejpeters

Description

@mikejpeters

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions