apisix icon indicating copy to clipboard operation
apisix copied to clipboard

feat: Using Multi-auth for authentication plugins with type other than type 'auth'.

Open SatriyoJati opened this issue 1 year ago • 1 comments

Description

Currently , I want to integrate keycloak or 3rd party identity server with Apisix. So when we call the our apis protected by Apisix, its need to provide credentials (resulted in an access token ) that has been generated from keycloak. Then we also want to use key-auth plugin as well so our apis protected by apikey. We cannot use multi-auth for that . We need to provide both credentials when accessing apis. What I want to use either apikey or token, so when we call using apikey we dont need to provide token, and vice versa.

SatriyoJati avatar Sep 24 '24 02:09 SatriyoJati

Yes, I had the same problem. Eventually, I implemented a new auth plugin instead of the built-in one. This requires an external system to manage the connection authorization of multiple users/systems, only the consumer is insufficient.

jinpy666 avatar Sep 25 '24 01:09 jinpy666

This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Sep 10 '25 10:09 github-actions[bot]

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

github-actions[bot] avatar Sep 24 '25 10:09 github-actions[bot]