You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/10/16 05:40:01 UTC
[GitHub] [apisix] zhangyuthink opened a new issue, #8096: help request: 怎么实现集中身份认证
zhangyuthink opened a new issue, #8096:
URL: https://github.com/apache/apisix/issues/8096
### Description
我有一个需求,我想用apisix实现集中身份认证,用一个接口实现登录并保存客户信息,然后返回token给客户端,客户端可以携带token访问其他业务接口,apisix可根据token获取客户信息并追加到请求体或者请求头之中。
我看了官网有关“身份认证”的博客,没找到想要的答案。
这样要怎么实现呢?或者有其他能实现类似功能的方案吗?谢谢。
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tokers commented on issue #8096: help request: 怎么实现集中身份认证
Posted by GitBox <gi...@apache.org>.
tokers commented on issue #8096:
URL: https://github.com/apache/apisix/issues/8096#issuecomment-1279940474
Can you try this https://apisix.apache.org/docs/apisix/plugins/forward-auth/?
--
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
[GitHub] [apisix] tzssangglass commented on issue #8096: help request: 怎么实现集中身份认证
Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #8096:
URL: https://github.com/apache/apisix/issues/8096#issuecomment-1282404541
> 如果用这个插件,每次访问接口都需要到“一个专门的外部服务中”去认证。能不能一次认证,然后将认证结果保存到apisix,后续别的接口可直接调用之前的认证结果
The results are saved in APISIX, how can the subsequent interfaces use the utilization results saved in APISIX?
I think what you need is JWT, APISIX needs to complete the JWT validation, upstream services do not need to do JWT validation again.
--
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: [I] help request: How to realize centralized identity authentication [apisix]
Posted by "think4code (via GitHub)" <gi...@apache.org>.
think4code closed issue #8096: help request: How to realize centralized identity authentication
URL: https://github.com/apache/apisix/issues/8096
--
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
[GitHub] [apisix] hardme commented on issue #8096: help request: 怎么实现集中身份认证
Posted by GitBox <gi...@apache.org>.
hardme commented on issue #8096:
URL: https://github.com/apache/apisix/issues/8096#issuecomment-1282087693
jwt?
--
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: [I] help request: How to realize centralized identity authentication [apisix]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8096:
URL: https://github.com/apache/apisix/issues/8096#issuecomment-1746550230
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 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
[GitHub] [apisix] zhangyuthink commented on issue #8096: help request: 怎么实现集中身份认证
Posted by GitBox <gi...@apache.org>.
zhangyuthink commented on issue #8096:
URL: https://github.com/apache/apisix/issues/8096#issuecomment-1280217531
> Can you try this https://apisix.apache.org/docs/apisix/plugins/forward-auth/?
如果用这个插件,每次访问接口都需要到“一个专门的外部服务中”去认证。能不能一次认证,然后将认证结果保存到apisix,后续别的接口可直接调用之前的认证结果
--
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