Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(secret): add ci and doc for some auth plugins #8601

Merged
merged 9 commits into from
Jan 6, 2023

Conversation

soulbird
Copy link
Contributor

@soulbird soulbird commented Jan 3, 2023

Description

As part of #8319:

After #8421, all authentication plugins support using APISIX Secret, but only the key-auth plugin adds test case coverage.
Here we have added test cases for basic-auth, hmac-auth, and wolf-rbac plugins using APISIX Secret resources to improve related functions. In addition, the documentation of related plugins is also supplemented.

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)

@soulbird soulbird marked this pull request as ready for review January 3, 2023 13:12
t/plugin/basic-auth.t Outdated Show resolved Hide resolved
t/plugin/hmac-auth3.t Outdated Show resolved Hide resolved
t/plugin/hmac-auth3.t Outdated Show resolved Hide resolved
Copy link
Member

@spacewander spacewander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some auth plugins like ldap-auth and jwt-auth don't exist in this change?

@soulbird
Copy link
Contributor Author

soulbird commented Jan 4, 2023

Some auth plugins like ldap-auth and jwt-auth don't exist in this change?

I missed it, I'll add it later

@soulbird soulbird marked this pull request as draft January 4, 2023 14:14
@soulbird soulbird marked this pull request as ready for review January 5, 2023 09:36
docs/zh/latest/plugins/jwt-auth.md Outdated Show resolved Hide resolved
t/plugin/hmac-auth4.t Outdated Show resolved Hide resolved
t/plugin/hmac-auth4.t Outdated Show resolved Hide resolved
t/plugin/jwt-auth3.t Outdated Show resolved Hide resolved
@spacewander spacewander merged commit 37f6f81 into apache:master Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants