Skip to content

Info endpoint #26

@dpanayotov

Description

@dpanayotov

Service Manager could expose an unsecured endpoint that provides information that can be used when accessing its APIs.

This endpoint would be of use to the CLI. It can obtain the endpoints for issuing and refreshing tokens when calling the Service Manager's APIs.

Example:
GET /v1/info
Reponse:

{
    "token_issuer": "https://example.com"
}

Where example.com has .well-known/openid-configuration endpoint as per https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderConfigurationRequest

This configuration used in the Service Manager authentication should be similar to https://kubernetes.io/docs/admin/authentication/#openid-connect-tokens whereas this info endpoint could be similar to https://apidocs.cloudfoundry.org/268/info/get_info.html

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