Skip to content

Store OIDC client_id in config instead of hardcoding #528

@raballew

Description

@raballew

TODO Comment

# TODO: store this metadata in the config

Location

python/packages/jumpstarter-cli/jumpstarter_cli/login.py, line 354

Context

@blocking
async def relogin_client(config: ClientConfigV1Alpha1):
    """Relogin into a jumpstarter instance"""
    client_id = "jumpstarter-cli"  # TODO: store this metadata in the config
    try:
        issuer = decode_jwt_issuer(config.token)
    except Exception as e:
        raise ReauthenticationFailed(f"Failed to decode JWT issuer: {e}") from e

The OIDC client_id is hardcoded as "jumpstarter-cli". It should be stored in the client config to support different OIDC configurations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions