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

20190827_Auth0_Rules_使ってみた.pdf

shuntaka
August 29, 2019

 20190827_Auth0_Rules_使ってみた.pdf

shuntaka

August 29, 2019
Tweet

More Decks by shuntaka

Other Decks in Technology

Transcript

  1. %BUBCBTF 4PDJBM &OUFSQJSTF 1BTTXPSEMFTT Connections Core Runtime 4BOECPY 8FCUBTL 3VMF

    3VMF 3VMF/ ɾɾ ɾ ࢀߟ: https://auth0.com/docs/rules
  2. %BUBCBTF 4PDJBM &OUFSQJSTF 1BTTXPSEMFTT Connections Core Runtime 4BOECPY 8FCUBTL 3VMF

    3VMF 3VMF/ ɾɾ ɾ ੍ޚ͕8FCΞϓ Ϧʹ໭Δ ϩάΠϯ *%1SPWJEFSͰೝূ
  3. %BUBCBTF 4PDJBM &OUFSQJSTF 1BTTXPSEMFTT Connections Core Runtime 4BOECPY 8FCUBTL 3VMF

    3VMF 3VMF/ ɾɾ ɾ ϩάΠϯ ੍ޚ͕8FCΞϓϦʹ໭Δ *%1SPWJEFSͰೝূ
  4. %BUBCBTF 4PDJBM &OUFSQJSTF 1BTTXPSEMFTT Connections Core Runtime 4BOECPY 8FCUBTL 3VMF

    3VMF 3VMF/ ɾɾ ɾ ϩάΠϯ 8FCΞϓϦʹ੍ޚ͕໭Δ ೚ҙͷίʔυ͕࣮ߦͰ͖Δ! *%1SPWJEFSͰೝূ
  5. %BUBCBTF 4PDJBM &OUFSQSJTF 1BTTXPSEMFTT Connections Core Runtime 4BOECPY 8FCUBTL 3VMF

    3VMF 3VMF/ ɾɾ ɾ ΫϥΠΞϯτ͕஌ͬͯஔ͖ ͍ͨ৘ใΛऔಘ ࣾ಺API CRMج൫
  6. %BUBCBTF 4PDJBM &OUFSQSJTF 1BTTXPSEMFTT Connections Core Runtime 4BOECPY 8FCUBTL 3VMF

    3VMF 3VMF/ ɾɾ ɾ JE@UPLFOʹؚΊͯ ΫϥΠΞϯτʹ఻͑Δ ࣾ಺API CRMج൫
  7. %BUBCBTF 4PDJBM &OUFSQJSTF 1BTTXPSEMFTT Connections Core Runtime 4BOECPY 8FCUBTL 3VMF

    3VMF 3VMF/ ɾɾ ɾ 20ඵͷ࣮ߦ੍ݶ͋Γ ࢀߟ: https://auth0.com/docs/best-practices/rules
  8. 4BOECPY 8FCUBTL con fi guration context user auth0 global 3VMF

    3VMF 3VMF/ ɾɾɾ ɾෳ਺ͷϧʔϧ͔ΒࢀরՄೳ ɾϋΠίετͳม਺Λอଘ͢ΔྖҬ
  9. 4BOECPY 8FCUBTL context user auth0 global 3VMF 3VMF 3VMF/ ɾɾɾ

    con fi guration ɾઃఆͨ͠؀ڥม਺͕ར༻Մೳ ɹ(APIΩʔͳͲͷػີ৘ใ֨ೲ৔ॴ)
  10. 4BOECPY 8FCUBTL context user global con fi guration auth0 3VMF

    3VMF 3VMF/ ɾɾɾ "VUI .BOBHFNFOU"1*W ɾAuth0ͷAPIΛݺͼग़͠Մೳ ɾݖݶ͸userͷread,updateʹݶΒΕΔ
  11. 4BOECPY 8FCUBTL con fi guration user auth0 global context 3VMF

    3VMF 3VMF/ ɾɾɾ ɾϩάΠϯͨ͠ϢʔβʔͷίϯςΩετ৘ใ (IPΞυϨεɺΞϓϦέʔγϣϯ౳)
  12. 4BOECPY 8FCUBTL con fi guration auth0 context global 3VMF user

    3VMF 3VMF/ ɾɾɾ ɾϩάΠϯͨ͠Ϣʔβʔͷ৘ใ͕औಘՄೳ ɾσϑΥϧτͷid_tokenΑΓ΋ৄࡉͳ৘ใ͕औΕΔ