Can Identity Server be used to authenticate a user for various web apps you may be hosting

前端 未结 1 467
你的背包
你的背包 2021-01-16 18:54

I\'m not really interested in API authentication - all I want to do is authorize a user who has access to one or many applications from a kind of portal I am designing. We

1条回答
  •  时光说笑
    2021-01-16 19:53

    One way to achieve this is by registering individual applications (JS and MVC app) as separate clients in IdentityServer (assuming each application has different redirect URI’s) and restricting access between those clients.

    In order to restrict access between clients for an authenticated user, you need to use ICustomRequestValidator interface.

    More details in this discussion board and a similar post in SO thread

    0 讨论(0)
提交回复
热议问题