TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do you handle authentication and authorization between microservices

43 点作者 somtum大约 7 年前

12 条评论

exabrial大约 7 年前
Take a look at the Microprofile JWT specifications. It provides a standard set of jwt claims: <a href="https:&#x2F;&#x2F;www.eclipse.org&#x2F;community&#x2F;eclipse_newsletter&#x2F;2017&#x2F;september&#x2F;article2.php" rel="nofollow">https:&#x2F;&#x2F;www.eclipse.org&#x2F;community&#x2F;eclipse_newsletter&#x2F;2017&#x2F;se...</a>
jwhitlark大约 7 年前
<a href="https:&#x2F;&#x2F;istio.io" rel="nofollow">https:&#x2F;&#x2F;istio.io</a>
codegladiator大约 7 年前
A central server which maintain all authorization information. The client can request token to access a particular service. The service verifies the token by calling the central server and gets in response the permissions available for that token. Also, a TTLed cache on the servers.
评论 #16717746 未加载
nickserv大约 7 年前
System user permissions with public&#x2F;private keys for lower level APIs (SSH tunnels, basically).<p>Centralized token services for ReST APIs
exabrial大约 7 年前
I used to work for a company that has a solution for this exact problem: <a href="http:&#x2F;&#x2F;www.tribestream.io" rel="nofollow">http:&#x2F;&#x2F;www.tribestream.io</a> Great product and the people couldn&#x27;t be a more diverse and all around good group of people.
评论 #16715027 未加载
Rjevski大约 7 年前
Client certs for service to service communication.<p>Auth tokens validated by a central entity (a bunch of servers really) for user (mobile apps, etc) to service communication.
borncrusader大约 7 年前
JWTs are a good approach. I&#x27;ve also seen folks using mTLS with gRPC.
carlosdp大约 7 年前
JWT tokens are a decent approach
toomuchtodo大约 7 年前
Vaulted API keys with lifecycle management.
steve_taylor大约 7 年前
Docker secrets.
matchmike1313大约 7 年前
API keys typically
segmondy大约 7 年前
keycloak