Plugins
Problem in unilogin plugin

I am facing problem after setting up the unilogin plugin. When my user sign in through twitter they are referred to a blank page. My forum is http://join.yac.org.in/

I am facing problem after setting up the unilogin plugin. When my user sign in through twitter they are referred to a blank page. My forum is http://join.yac.org.in/

My facebook app isn't complete it and didn't even made app on Google yet

My facebook app isn't complete it and didn't even made app on Google yet

Can you show the config file that you edited for the unilogin ?

<?php
/**
* HybridAuth
* http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth
* (c) 2009-2015, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html
*/

// ----------------------------------------------------------------------------------------
//    HybridAuth Config file: http://hybridauth.sourceforge.net/userguide/Configuration.html
// ----------------------------------------------------------------------------------------

return
    array(
        "base_url" => "http://join.yac.org.in/uni_login/authorize",

        "providers" => array (
            // openid providers
            "OpenID" => array (
                "enabled" => true
            ),

            "Yahoo" => array (
                "enabled" => true,
                "keys"    => array ( "key" => "", "secret" => "" ),
            ),

            "AOL"  => array (
                "enabled" => true
            ),

            "Google" => array (
                "enabled" => true,
                "keys"    => array ( "id" => "567278044754-djc081h25om2pbe0npv7406ote31ul32.apps.googleusercontent.com", "secret" => "NUlZAgDoE4qY6hqrqIBDb5jR" ),
            ),

            "Facebook" => array (
                "enabled" => true,
                "keys"    => array ( "id" => "1100234456689441", "secret" => "f1eae22cf990bab991a5504ae5efe550" ),
                "trustForwarded" => false
            ),

            "Twitter" => array (
                "enabled" => true,
                "keys"    => array ( "key" => "xAOiqB022oW4wOQmKXGBeHGHd", "secret" => "opZPGACefy8Fss8eU1ge2mcK415mquNzyMCn6WMsNJmpMyrhs0" )
            ),

            // windows live
            "Live" => array (
                "enabled" => true,
                "keys"    => array ( "id" => "", "secret" => "" )
            ),

            "LinkedIn" => array (
                "enabled" => true,
                "keys"    => array ( "key" => "", "secret" => "" )
            ),

            "Foursquare" => array (
                "enabled" => true,
                "keys"    => array ( "id" => "", "secret" => "" )
            ),
        ),

        // If you want to enable logging, set 'debug_mode' to true.
        // You can also set it to
        // - "error" To log only error messages. Useful in production
        // - "info" To log info and error messages (ignore debug messages)
        "debug_mode" => false,

        // Path to file writable by the web server. Required if 'debug_mode' is not false
        "debug_file" => "/hybridauth.log",
    );
&gt;Can you show the config file that you edited for the unilogin ? ```` &lt;?php /** * HybridAuth * http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth * (c) 2009-2015, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html */ // ---------------------------------------------------------------------------------------- // HybridAuth Config file: http://hybridauth.sourceforge.net/userguide/Configuration.html // ---------------------------------------------------------------------------------------- return array( &quot;base_url&quot; =&gt; &quot;http://join.yac.org.in/uni_login/authorize&quot;, &quot;providers&quot; =&gt; array ( // openid providers &quot;OpenID&quot; =&gt; array ( &quot;enabled&quot; =&gt; true ), &quot;Yahoo&quot; =&gt; array ( &quot;enabled&quot; =&gt; true, &quot;keys&quot; =&gt; array ( &quot;key&quot; =&gt; &quot;&quot;, &quot;secret&quot; =&gt; &quot;&quot; ), ), &quot;AOL&quot; =&gt; array ( &quot;enabled&quot; =&gt; true ), &quot;Google&quot; =&gt; array ( &quot;enabled&quot; =&gt; true, &quot;keys&quot; =&gt; array ( &quot;id&quot; =&gt; &quot;567278044754-djc081h25om2pbe0npv7406ote31ul32.apps.googleusercontent.com&quot;, &quot;secret&quot; =&gt; &quot;NUlZAgDoE4qY6hqrqIBDb5jR&quot; ), ), &quot;Facebook&quot; =&gt; array ( &quot;enabled&quot; =&gt; true, &quot;keys&quot; =&gt; array ( &quot;id&quot; =&gt; &quot;1100234456689441&quot;, &quot;secret&quot; =&gt; &quot;f1eae22cf990bab991a5504ae5efe550&quot; ), &quot;trustForwarded&quot; =&gt; false ), &quot;Twitter&quot; =&gt; array ( &quot;enabled&quot; =&gt; true, &quot;keys&quot; =&gt; array ( &quot;key&quot; =&gt; &quot;xAOiqB022oW4wOQmKXGBeHGHd&quot;, &quot;secret&quot; =&gt; &quot;opZPGACefy8Fss8eU1ge2mcK415mquNzyMCn6WMsNJmpMyrhs0&quot; ) ), // windows live &quot;Live&quot; =&gt; array ( &quot;enabled&quot; =&gt; true, &quot;keys&quot; =&gt; array ( &quot;id&quot; =&gt; &quot;&quot;, &quot;secret&quot; =&gt; &quot;&quot; ) ), &quot;LinkedIn&quot; =&gt; array ( &quot;enabled&quot; =&gt; true, &quot;keys&quot; =&gt; array ( &quot;key&quot; =&gt; &quot;&quot;, &quot;secret&quot; =&gt; &quot;&quot; ) ), &quot;Foursquare&quot; =&gt; array ( &quot;enabled&quot; =&gt; true, &quot;keys&quot; =&gt; array ( &quot;id&quot; =&gt; &quot;&quot;, &quot;secret&quot; =&gt; &quot;&quot; ) ), ), // If you want to enable logging, set &#039;debug_mode&#039; to true. // You can also set it to // - &quot;error&quot; To log only error messages. Useful in production // - &quot;info&quot; To log info and error messages (ignore debug messages) &quot;debug_mode&quot; =&gt; false, // Path to file writable by the web server. Required if &#039;debug_mode&#039; is not false &quot;debug_file&quot; =&gt; &quot;/hybridauth.log&quot;, ); ````

Faceook plugin, when I try to register new account:

Invalid Scopes: read_stream, read_friendlists. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions

After this user have only blank page.
Codoforum v3.6

Facebook problem solved:
Update of hybridauth is required: https://github.com/hybridauth/hybridauth

Faceook plugin, when I try to register new account: ``` Invalid Scopes: read_stream, read_friendlists. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions ``` After this user have only blank page. *Codoforum v3.6* **Facebook problem solved:** Update of hybridauth is required: https://github.com/hybridauth/hybridauth
edited Sep 20 '16 at 12:33 pm

Hello! When I use login via facebook, after successfull login user is redirected to page: myforum/user/profile#= Could you tell me where I can change this path?

Hello! When I use login via facebook, after successfull login user is redirected to page: **myforum/user/profile#_=_** Could you tell me where I can change this path?

same problem here.

looking for a workaround , but not ( yet) enough knowledge of the code to make it !

same problem here. looking for a workaround , but not ( yet) enough knowledge of the code to make it !

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

You can change the url in
/sites/default/plugins/uni_login/uni_login.php

Around line 151:

header('Location: ' . CODOF\User\User::getProfileUrl());
You can change the url in /sites/default/plugins/uni_login/uni_login.php Around line 151: ``` header(&#039;Location: &#039; . CODOF\User\User::getProfileUrl()); ```

many thanks, work perfectly!

i moved line 151 just after around 146

 reg->login();
 header('Location: ' . CODOF\User\User::getProfileUrl());

to allow new users to verify there account ( and mail).

and added default url line 91 ( to allow modification by tests).

Maybe a good idea to set this url as a parameter ?

many thanks, work perfectly! i moved line 151 just after around 146 ```` reg-&gt;login(); header(&#039;Location: &#039; . CODOF\User\User::getProfileUrl()); ```` to allow new users to verify there account ( and mail). and added default url line 91 ( to allow modification by tests). Maybe a good idea to set this url as a parameter ?

please, excuse my bad english! ( i'm french, and i know, it's not a good excuse ! ;) )

403
10
4
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft