Skip to:
Content
Pages
Categories
Search
Top
Bottom

Seamless Login – Deep Integration – Single Login


  • iamanasha
    Member

    @iamanasha

    I have taken all of the integration and deep integration steps. I have even went to a few blogs and taken the extra steps.

    I can only log into one of my sites at a time. If I log into wordpress, then I am logged out of bbpress and vice versa.

    I have seen others post this forum, but there has been no answers to satisfy my problem.

    I have made sure that all of the information in bb-config.php and wp-config.php were matching.

    I’m so stumped.

Viewing 6 replies - 1 through 6 (of 6 total)

  • iamanasha
    Member

    @iamanasha

    Okay, I see what was missed.

    1. I had to copy/paste all of the keys and salts from wp-config.php and replace the keys in bb-config.php. (Though the bb-config.php has only keys, you still must copy the KEYS & SALTS from the wp-config.php and add ALL to the bb-config.php.)

    2. Then I had to add ‘BB_’ before each key or salt in the bb-config.php file. (Should look like this… ‘BB_AUTH_KEY’ or ‘BB_SECURE_AUTH_SALT’)

    This made my logins seamless. If I have anymore info, then I will add it to this topic later.

    I did all the other stuff first such as:

    a. adding the bbpress integration plugin to my wordpress

    b. updating the wordpress integration ‘user rolemaps’ in the bbpress backoffice

    c. adding the manual cookie setting [define( 'COOKIEPATH', '/' );] from the wordpress bbpress integration plugin to the wp-config.php file

    Other info to know:

    My blog is http://gerlainetalk.com

    I put the forum in the same folder and not under a different domain.

    http://gerlainetalk.com/forum

    My lessons:

    I find that having the forum in a different domain, botches things up. Such as http://forum.gerlainetalk.com

    http://gerlainetalk.com/forum works much better.


    iamanasha
    Member

    @iamanasha

    Okay, I see what was missed.

    1. I had to copy/paste all of the keys and salts from wp-config.php and replace the keys in bb-config.php. (Though the bb-config.php has only keys, you still must copy the KEYS & SALTS from the wp-config.php and add ALL to the bb-config.php.)

    2. Then I had to add ‘BB_’ before each key or salt in the bb-config.php file. (Should look like this… ‘BB_AUTH_KEY’ or ‘BB_SECURE_AUTH_SALT’)

    This made my logins seamless. If I have anymore info, then I will add it to this topic later.

    I did all the other stuff first such as:

    a. adding the bbpress integration plugin to my wordpress

    b. updating the wordpress integration ‘user rolemaps’ in the bbpress backoffice

    c. adding the manual cookie setting [define( 'COOKIEPATH', '/' );] from the wordpress bbpress integration plugin to the wp-config.php file

    Other info to know:

    My blog is http://gerlainetalk.com

    I put the forum in the same folder and not under a different domain.

    http://gerlainetalk.com/forum

    My lessons:

    I find that having the forum in a different domain, botches things up. Such as http://forum.gerlainetalk.com

    http://gerlainetalk.com/forum works much better.


    iamanasha
    Member

    @iamanasha

    Okay, I told you that I would bring you in more info if I had it. I got it!

    If you do not have any salts in your wp-config.php file, then you can create keys and salts at this link:

    -WordPress.org secret-key service-

    https://api.wordpress.org/secret-key/1.1/salt/

    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

    To do a proper integration you will need keys and salts, so generate them all at this proper link.

    Remember to add a ‘BB_’ prefix to each key and salt in the bb-config.php.(Example: ‘BB_AUTH_KEY’ or ‘BB_SECURE_AUTH_SALT’)

    Miscellaneous info:

    If you only need keys, then use this link:

    https://api.wordpress.org/secret-key/1.1/

    If you only need keys for bbpress then use this link:

    https://api.wordpress.org/secret-key/1.1/bbpress/

    For bbpress keys and salts use this link:

    https://api.wordpress.org/secret-key/1.1/bbpress/salt


    iamanasha
    Member

    @iamanasha

    Okay, I told you that I would bring you in more info if I had it. I got it!

    If you do not have any salts in your wp-config.php file, then you can create keys and salts at this link:

    -WordPress.org secret-key service-

    https://api.wordpress.org/secret-key/1.1/salt/

    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.

    To do a proper integration you will need keys and salts, so generate them all at this proper link.

    Remember to add a ‘BB_’ prefix to each key and salt in the bb-config.php.(Example: ‘BB_AUTH_KEY’ or ‘BB_SECURE_AUTH_SALT’)

    Miscellaneous info:

    If you only need keys, then use this link:

    https://api.wordpress.org/secret-key/1.1/

    If you only need keys for bbpress then use this link:

    https://api.wordpress.org/secret-key/1.1/bbpress/

    For bbpress keys and salts use this link:

    https://api.wordpress.org/secret-key/1.1/bbpress/salt

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.