我们可以将Identity Server 4与客户端托管在同一应用程序中吗? [英] Can we host Identity Server 4 in the same application with a client?

查看:75
本文介绍了我们可以将Identity Server 4与客户端托管在同一应用程序中吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Identity Server 4有两个直接的问题.能否请一些人帮助我更好地理解它们.他们是:

I have two straight questions about Identity Server 4. Can some please help me to understand them better. They are:

1)为什么我们需要分别托管Identity Server 4?

1) why we need to host Identity Server 4 separately?

2)我们可以将Identity Server 4与客户端托管在同一应用程序中吗?

2) Can we host Identity Server 4 in the same application with the client?

推荐答案

要回答您的第一个问题,我们需要单独托管身份服务器,因为拥有身份服务器的主要目的是Signle登录的强大功能.您可以拥有许多Web客户端应用程序,并且可以通过一台集中式服务器管理其登录逻辑.

To answer your first question, we need to host Identity server separately as the main purpose of having an identity server is the power of Signle sign on. You can have many web client apps and can manage their login logic through one centralized server.

因此,您可以从技术上在客户端应用程序中托管身份服务器,但是据我所知,它并不是最佳的身份服务器!

So, you can host the Identity server in client app technically, but it won't be the best use of identity server in my understanding!

这篇关于我们可以将Identity Server 4与客户端托管在同一应用程序中吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆