asp.net mvc - SSO between MVCForum and Umbraco7 -


i need integrate sso between mvcforum (forum of company) , umbraco7 (manages cms company).

however struggling shared authentication work. tried several ways suggested on other threads still not running expected.

here did:

1. in mvcforum (forum.mywebsite.com)

1.1. machine key in web.xml:

<machinekey validationkey="the same key umbraco7" decryptionkey="the same key umbraco7" validation="sha1" decryption="aes" /> 

1.2. authenticate forms in web.xml

<forms name="my-sso-auth" protection="all" path="/" timeout="43200" domain="forum.mywebsite.com" loginurl="/members/logon" enablecrossappredirects="true" /> 

2. in umbraco7 (news.mywebsite.com)

2.1. machine key in web.xml:

<machinekey validationkey="the same key mvcforum" decryptionkey="the same key mvcforum" validation="sha1" decryption="aes" /> 

2.2. authenticate forms in web.xml

<forms name="my-sso-auth" protection="all" path="/" timeout="43200" domain="mywebsite.com" loginurl="/members/logon" enablecrossappredirects="true" /> 

3. database

i created separate db each both of them have same list of users (with same value of main properties such same username, email, address, passowrd, roles, etc). think issue doesn't come here.

try changing domain attribute in both configuration files to: mywebsite.com have domain="forum.mywebsite.com" in mvcforum configuration. more details here


Comments

Popular posts from this blog

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -