0

I have Thinktecture Identity Server 2 running locally for development purposes and have set up Microsoft Membership as its User storage. I'm using SqlRoleProvider and something called SqlTableProfileProvider and that's all working fine and dandy.

My questions are, what is the best way to access the profile information from within the Relying Party web site (ASP.Net Web Forms) so I can display that profile information to the user? Do I need to configure my web.config with the ProfileProvider information that is also in Identity Server's configs? How do I then programmatically access that profile data from my code behind (C#)?

Any insights would be welcome.

Thank you!

4

1 回答 1

2

你没有。IdSrv 中的配置文件提供程序用于向传出令牌添加声明。

如果您真的想从 RP 访问配置文件,则需要向 IdSrv 添加一个 Web 服务端点以公开它。

于 2014-04-25T09:18:55.550 回答