Skip to content

Issuers with trailing slashes #106

@bquackie

Description

@bquackie

I have an issuer that has a trailing slash, e.g https://me.yous.com/. in the getMetaData() method, there is the concatenating of this line of code: metaDataUrl := j.Issuer + j.Discovery.GetWellKnownUrl() to create the path to the jwks. But, because of the extra /, the URL will be incorrect, e.g https://me.yous.com//.well-known/openid-configuration.

Is there any workaround for this?

using v1.3.1; it appears that I'd have the same issue with the latest, (v.2.0.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions