Skip to content

Using a keycloak client other than rep-cli fails to refresh properly #195

@Buzz1167

Description

@Buzz1167

deployment template

rep-core

Bug description

Try using a client other than rep-cli from the ansys.rep.client.Client and wait until it needs to refresh. You will observe that it tries to refresh with rep-cli anyway which causes failures. After inspection, there are some other defaults used that needed to be set as well.

Expected Behavior

Token should refresh automatically and call be remade automatically without error.

Steps to reproduce

Try using a client other than rep-cli from the ansys.rep.client.Client with a short token lifetime and wait until it needs to refresh. You will observe that it tries to refresh with rep-cli anyway which causes failures.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions