A3M - Account Authentication & Authorization Module |
[eluser]Naatan[/eluser]
In case anyones interested in getting A3M working with Vanilla forums 2.0 (ie. use A3M as the authentication / registration mechanism), create a controller with the following contents: Code: <?php Replace the contents of the redirect with whatever you want it to redirect to upon logging out. Also, go into modules/account/libraries/Authentication.php and add the following to the sign_out function: Code: setcookie('Vanilla',' ',time()-3600,'/'); Make sure that the following CI settings are set to false: sess_match_ip sess_match_useragent Finally, install the Single Sign On addon for Vanilla Forums 2.0 and change the settings to: Code: # Authenticate Url That's it.. sign in with A3M and navigate to your forums.. if all went well you should be automatically logged in. (Note - make sure the admin user you create in vanilla does not conflict with an a3m user) Also be sure to read the "Final Touches" over at > http://vanillaforums.org/page/singlesignon |
Welcome Guest, Not a member yet? Register Sign In |