如何在.NET 5 Web API中配置JWT
我在开发时会感到困惑。我正在研究.NET 5 Web API,在其中实现了JWT身份验证。然后,我知道,客户应用程序(我同一组织中其他团队拥有的全部不同项目)是使用Windows AD或SSO配置的,但不完全确定。但是,客户端应用程序仍然不会在我在authcontroller中的帖子请求中发送用户ID和密码。在这种情况下,将如何对我的API请求进行身份验证以检查客户端是否可以访问它。
对此的任何指导都会有所帮助。提前致谢。
I have a confusion in while doing development. I am working on .NET 5 Web API in which I have implemented JWT authentication. Then I got to know that, client application(it entire different project owned by other team in my same organization) is configured using Windows AD or SSO, not fully sure though. But still client application won't be sending userid and password in a post request which I have in my AuthController. In this case, how my APIs requests will be authenticated to check if the client has access to it or not.
Any guidance on this would be helpful. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论