使用ASP.NET Core Web API配置AWS,维护会话并实现SSO

发布于 2025-01-22 09:51:55 字数 328 浏览 0 评论 0原文

我创建了用户池,并使用ASP.NET Core Web API配置,该API

与AWS通信以进行登录/注册等。我有三个独立的应用程序在ASP.NET中构建了三个独立的应用程序,我想通过该API将这些应用程序与AWS集成。

API工作正常,能够登录,注册,忘记密码,重置密码等。但是,我如何在所有三个应用程序中维护会话(身份),我也想实现单个登录(SSO)。

我正在将AWS SDK与库一起使用:

Amazon.AspNetCore.Identity.Cognito;
Amazon.Extensions.CognitoAuthentication;

I have created user pool and configured with ASP.NET Core Web API that communicates with AWS for Login/signup etc.

I have three stand alone applications build in asp.net I want to integrate these application with AWS through that API.

The API is working fine that is able to sign in, signup, forgot password, reset password password etc. But how can I maintain the session (identity) in my all three applications and I also want to implement Single Sign On (SSO).

I am using AWS SDK along with libraries:

Amazon.AspNetCore.Identity.Cognito;
Amazon.Extensions.CognitoAuthentication;

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不及他 2025-01-29 09:51:55

他们是Web应用程序吗?如果是,您的浏览器将与Amazon Cognito保持会话。

are they web apps? if yes, your browser will maintain the session with Amazon Cognito.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文