Skip to content

help request: Revoking token when sign out using openid-connect plugin #9227

@quantranhong1999

Description

@quantranhong1999

Description

Hi APISIX community,
I am new to Apache APISIX and studying it, especially the log-out case with an OIDC provider and the openid-connect plugin.

I can see that the openid-connect plugin does caching for token introspection results. However, I do not see any configuration or docs mentioning revoking the cached token (especially helpful for the logout case).

Looking at the lua-resty-openidc which our openid-connect plugin is based on, I can see it supports revoke token as well as a configuration for it called revoke_tokens_on_logout. However, again, I do not see it explicitly declared in our openid-connect plugin.

So, does revoking token on logout work out of the box with our openid-connect plugin?
Do we need to add the configuration to plugin code schema to make it work? If yes, please guide me on contributing this :-)

Cheers.

Environment

Not especially, studying the latest Apache APISIX 3.2.

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