Skip to content

issuer flag does not add the default port to the OIDC endpoints printout #2

@anaximand3r

Description

@anaximand3r

While running maSSO from an host with public exposure, e.g. EC2 machine, the --issuer flag does not force the endpoints print to include the proper port where they are reachable.

Example print:

./masso oidc --redirect-uri "https://STUFF.STUFF.com/sso/oidc/UUID/callback" --issuer http://ec2-STUFF.us-east-2.compute.amazonaws.com/
...
...
  ── OIDC Endpoints (on IdP port) ──────────────────────────────
  Discovery           :  http://ec2-STUFF.us-east-2.compute.amazonaws.com/well-known/openid-configuration
...

The URL is wrong as by default the endpoints are reachable at 8081.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions