Skip to content

feat: support anonymous consumer#11792

Closed
Revolyssup wants to merge 11 commits into
apache:masterfrom
Revolyssup:revolyssup/backport/anonymousconsumer
Closed

feat: support anonymous consumer#11792
Revolyssup wants to merge 11 commits into
apache:masterfrom
Revolyssup:revolyssup/backport/anonymousconsumer

Conversation

@Revolyssup

@Revolyssup Revolyssup commented Nov 29, 2024

Copy link
Copy Markdown
Contributor

Description

Fixes # (issue)
Currently, the built-in user authentication logic in APISIX is either successful authentication reflected to the corresponding Consumer object, or authentication failure directly returned to the caller authentication failure return.

Some users want a dummy consumer framed as "anonymous" consumer to be attached to the request when authentication fails so that certain rules (as plugins) defined in the "anonymous" consumer will be applied.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot Bot added size:XXL This PR changes 1000+ lines, ignoring generated files. enhancement New feature or request labels Nov 29, 2024
@Revolyssup Revolyssup closed this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant