Skip to content

Better support for diagnosing interactions with OP #623

@paulmillar

Description

@paulmillar

I'm currently seeing problems "logging in" with EGI CheckIn (i.e., requesting a RT) when requesting specific scopes that the OIDC discovery endpoint claims are supported.

Having reported this issue, the question came back about oidc-agent: whether the error I'm seeing is because EGI CheckIn declined to make certain scopes available. In other words, whether EGI CheckIn processed the request correctly and returned a valid refresh token; however, oidc-agent checked which scopes are available from this RT, discovered that some of the requested scopes are not available, and returned an error.

In order to understand what is happening, I would need to see the information being provided by oidc-agent to the OP, and provided by the OP to oidc-agent. This could be using the browser (e.g., providing a URL), or by direct communication between oidc-agent and the OP.

I tried running oidc-agent with the -g and -d options, setting the corresponding environment variables manually, and then running oidc-gen with debug enabled (-v). However, even with this deployment, I didn't see any information about interactions with the OP.

Therefore, I'm requesting the oidc-agent is updated to support logging/recording (to console is fine) the interactions with the OP, in order to support diagnosing such problems.

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