如何将SAML主张交换为Oauth代币

发布于 2025-02-02 01:20:54 字数 229 浏览 1 评论 0原文

我正在研究客户的Spring(SAML身份验证)后端。我需要在前端嵌入一个受限制的格拉法纳仪表板。有人建议我可以将SAML主张换成oauth代币(JWT格式)。

我创建了一个SAML身份验证和一个OAuth身份验证原型,可以用来掌握此概念。

我几乎没有关于这种交流的信息,而我确实发现的那些交流有点丢失。我不是春季专家。 有人可以解释一下我将如何执行此操作,或将我链接到可能有所帮助的教程。

提前致谢。

I am working on a client's Spring (SAML Authenticated) application backend. I need to embed a restricted Grafana dashboard on the front-end. It's been suggested that I can exchange the SAML Assertion for an OAuth token (JWT format).

I have created a SAML authentication and a OAuth authentication prototype that I can use to grasp this concept.

I can find little information about this exchange, and those that I do find are a little lost on me; I am not a spring expert.
Can someone please explain how I would go about doing this, or link me to a tutorial that may be of some assistance.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文