Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Laravel + Auth0で複数のSNS認証を簡単に実現.pdf

Takayuki
August 07, 2019

Laravel + Auth0で複数のSNS認証を簡単に実現.pdf

Laravel + Auth0で複数のSNS認証を簡単に実現

Takayuki

August 07, 2019
Tweet

More Decks by Takayuki

Other Decks in Programming

Transcript

  1. Copyright Re:Build.inc All Rights Reserved. 1.ձࣾ঺հ ◆ձ໊ࣾ גࣜձࣾRe:Build ◆ॅॴ ԭೄݝԭೄࢢதԝ̍ஸ໨̍̒−̕

    ◆ࣄۀ಺༰ ɾࣗࣾWEBαʔϏεͷاըɾ։ൃɻ ɾडୗ։ൃ ◆ࣾһ 6໊ ◆ΤϯδχΞͷಇ͖ํ ϦϞʔτϫʔΫՄೳͳࣗ༝ͳಇ͖ํΛਪ঑ͯ͠·͢ʂ
  2. 1 0 Auth0ͱ͸ ɾ֓ཁ Auth0͸WebΞϓϦ΍ϞόΠϧɺAPIͳͲ ʹରͯ͠ೝূɾೝՄͷαʔϏεΛΫϥ΢υ Ͱఏڙ͍ͯ͠Δɺ͍ΘΏΔIDaaS (Identity as a

    Service)ϕϯμʔͰ͢ɻ ɾΦεεϝͷํ اۀ͕΋ͭWebΞϓϦέʔγϣϯ΍API, Native Mobile AppͳͲͰϢʔβʔೝূ΍ ೝՄɺηΩϡϦςΟΛ૊ΈࠐΈ͍͚ͨΕ Ͳ΋࣮૷͕೉͍͠ɻ https://qiita.com/furuth/items/8826b66a3ec2b2b14222
  3. 1 9 खॱ ᶃAuth0ͷ؅ཧը໘ͰΞϓϦέʔγϣϯͷઃఆΛߦ͏ɻ ᶄLaravelΛΠϯετʔϧ ᶅcomposer require auth0/login:”~5.0" Λ࣮ߦ ᶆLoginServiceProviderΛઃఆ

    ᶇphp artisan vendor:publishΛ࣮ߦ ᶈ.envΛฤू ᶉroutes/api.phpΛฤू ᶊίϯτϩʔϥΛ࡞੒ ᶋconfig/auth.phpΛฤू ᶌbladeϑΝΠϧΛฤू
  4. WWW.SITE2MAX.PRO Free PowerPoint & KeyNote Templates 4 DEMO EC Site

    EC Site https://murmuring-tor-53965.herokuapp.com/