redirection is not working

Mozilla Firefox

Onclick, its open LinkedIn login page after that login is happening then pop is close and the redirection part doesn't work.
Please help me.

I am using following code.

 <script type="text/javascript">
 var oa = document.createElement('script');
 oa.type = 'text/javascript'; oa.async = true;
 oa.src = '//tier5.api.oneall.com/socialize/library.js'
 var s = document.getElementsByTagName('script')[0];
 s.parentNode.insertBefore(oa, s)
</script>

 <div id="oa_social_login" class="form-group text-center"></div>

<script type="text/javascript">

            /* Replace #your_callback_uri# with the url to your own callback script */
              var your_callback_script = 'http://xsellcast.test/auth/register';

            /* Embeds the buttons into the container oa_social_login_container */
            var _oneall = _oneall || [];
            _oneall.push(['social_login', 'set_providers', ['linkedin']]);
            _oneall.push(['social_login', 'set_callback_uri', your_callback_script]);
            _oneall.push(['social_login', 'do_render_ui', 'oa_social_login']);
</script> 

The LinkedIn button is generating following link. I think it's not containing any callback URL.

google Crome
it redirect to

and nothing is happening.

Answers

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team

    Hello,

    could you please post a link to a page where I can test the login?

    Regards,

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.