Thursday, 15 March 2012

oauth 2.0 - Laravel Socialite initiate credentials -


I send would integrate Socialist in Laral based CMS and I request that I Soshlat that will try to find out Client_id and Are the customers saved in the secret database?

Document from basic use

  return socialize :: with ('github') - & gt; Redirect ();  

and saved credentials config / services.php are

  / ** * Create an instance of the designated driver. * * @ Return / Larlevl \ Sosaitiit \ two \ Absorspraivr * / create protected function Gitb driver () {$ config = $ this- & gt; App ['config'] ['services.github']; Return $ $- & gt; BuildProvider ('Largeze Socialize' two 'ghetbprovider', $ config); }  

I $ the-> app on Factory Calling [ 'config'] would define

you can not only create a middleware class, it applies to a variety of routes, then simply use the config:

  $ v = AUTH :: User () - gt; github // or even if you make it work for you, it is not sure how you have configured it Config :: set ( 'services.github', $ v);  

Setting this kind of configuration sets it only for the current request


No comments:

Post a Comment