[英]Setting up OpenID Provider with SubDomains Identifiers using DotNetOpenAuth
I am currently trying to implement an OpenID Provider on my own domain name. 我目前正在尝试在自己的域名上实现OpenID提供程序。 Thus, I would like the OpenID Identifier of a user to be user.example.com instead of the default example.com/user.aspx/user ..
因此,我希望用户的OpenID标识符是user.example.com而不是默认的example.com/user.aspx/user ..
Is it possible for DotNetOpenAuthto do that? DotNetOpenAuth可以做到吗? If so, roughly what changes do i need to make?
如果是这样,大致需要做出哪些改变?
Yes, it's absolutely possible. 是的,这绝对是可能的。
And you're done. 而且你已经完成了。 I haven't gone into great detail on these steps because it's the same steps you take when you customize the URL of your claimed identifiers in any way -- special host name or not.
我没有详细介绍这些步骤,因为这与您以任何方式自定义声明的标识符的URL时所采取的步骤相同 - 特殊主机名。 The only really special step is #1: Configuring IIS.
唯一真正特别的步骤是#1:配置IIS。 To accept any random host name requires special DNS configuration, but since it's just your own user name you can just hard-code your username into DNS.
要接受任何随机主机名,需要特殊的DNS配置,但由于它只是您自己的用户名,因此您只需将用户名硬编码到DNS中即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.