You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "yezhenghao (via GitHub)" <gi...@apache.org> on 2024/08/16 05:53:01 UTC

[PR] feat: Add the cwt(chain web token) plugin. The target function is similar to the jwt-auth plugin, which belongs to the permission authentication plugin. The difference is that for cwt plugin, apisix uses the chain wallet address in the consumer whitelist configuration, does not touch the key, the key only belongs to the client user, which is a decentralized mode, while jwt-auth plugin needs to configure the key in the consumer of the apisix to generate the token. It's a centralized model. The cwt plugin can be used in scenarios where mutual trust is required or where it is not convenient to expose the key. [apisix]

yezhenghao opened a new pull request, #11502:
URL: https://github.com/apache/apisix/pull/11502

   …ilar to the jwt-auth plugin, which belongs to the permission authentication plugin. The difference is that for cwt plugin, apisix uses the chain wallet address in the consumer whitelist configuration, does not touch the key, the key only belongs to the client user, which is a decentralized mode, while jwt-auth plugin needs to configure the key in the consumer of the apisix to generate the token. It's a centralized model. The cwt plugin can be used in scenarios where mutual trust is required or where it is not convenient to expose the key.
   
   ### Description
   
   <!-- Please include a summary of the change and which issue is fixed. -->
   <!-- Please also include relevant motivation and context. -->
   
   Fixes # (issue)
   
   ### 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](https://github.com/apache/apisix/tree/master#community) first)
   
   <!--
   
   Note
   
   1. Mark the PR as draft until it's ready to be reviewed.
   2. Always add/update tests for any changes unless you have a good reason.
   3. Always update the documentation to reflect the changes made in the PR.
   4. Make a new commit to resolve conversations instead of `push -f`.
   5. To resolve merge conflicts, merge master instead of rebasing.
   6. Use "request review" to notify the reviewer after making changes.
   7. Only a reviewer can mark a conversation as resolved.
   
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat: Add the cwt(chain web token) plugin. The target function is similar to the jwt-auth plugin, which belongs to the permission authentication plugin. The difference is that for cwt plugin, apisix uses the chain wallet address in the consumer whitelist configuration, does not touch the key, the key only belongs to the client user, which is a decentralized mode, while jwt-auth plugin needs to configure the key in the consumer of the apisix to generate the token. It's a centralized model. The cwt plugin can be used in scenarios where mutual trust is required or where it is not convenient to expose the key. [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on PR #11502:
URL: https://github.com/apache/apisix/pull/11502#issuecomment-2295121018

   also, please fix the PR title. It looks horrific right now.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat: Add the cwt(chain web token) plugin. [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #11502:
URL: https://github.com/apache/apisix/pull/11502#issuecomment-2443772002

   This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat: Add the cwt(chain web token) plugin. [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #11502:
URL: https://github.com/apache/apisix/pull/11502#issuecomment-2564673774

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat: Add the cwt(chain web token) plugin. The target function is similar to the jwt-auth plugin, which belongs to the permission authentication plugin. The difference is that for cwt plugin, apisix uses the chain wallet address in the consumer whitelist configuration, does not touch the key, the key only belongs to the client user, which is a decentralized mode, while jwt-auth plugin needs to configure the key in the consumer of the apisix to generate the token. It's a centralized model. The cwt plugin can be used in scenarios where mutual trust is required or where it is not convenient to expose the key. [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on PR #11502:
URL: https://github.com/apache/apisix/pull/11502#issuecomment-2295120781

   please create an issue with the proposal describing "why" first, then "how" and then "what".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat: Add the cwt(chain web token) plugin. [apisix]

Posted by "yezhenghao (via GitHub)" <gi...@apache.org>.
yezhenghao commented on PR #11502:
URL: https://github.com/apache/apisix/pull/11502#issuecomment-2319973916

   > please create an issue with the proposal describing "why" first, then "how" and then "what".
   
   https://github.com/apache/apisix/issues/11542


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] feat: Add the cwt(chain web token) plugin. [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #11502: feat: Add the cwt(chain web token) plugin.
URL: https://github.com/apache/apisix/pull/11502


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org