ServiceStack - Authentication for domain and subdomains

前端 未结 1 936
-上瘾入骨i
-上瘾入骨i 2021-01-20 06:30

I want to host the ServiceStack authentication providers on the root of a domain (domain.com) and have the authentication work for the entire domain (sub1.domain.com, sub2.d

1条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-20 07:01

    I addressed my issue with the following pull request.

    In Web.config, you can specify the domain for your cookies. ServiceStack was overwriting this value, but now ServiceStack will leave it alone if it is specified.

    
      
        
      
    
    

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