Skip to content

Regex for sub claim doesn't allow localhost #551

@jaxoncreed

Description

@jaxoncreed

The regex here (

if (!decoded.sub.match(/^https?:\/\/.+\..+$/)) {
) doesn't allow for a domain like https://localhost:8443/profile/card#me. Because NSS does not issue a webid claim, a user running NSS on single-user mode locally is not able to log in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions