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

20200624_web_otp_api.pdf

 20200624_web_otp_api.pdf

ozaki25

June 24, 2020
Tweet

More Decks by ozaki25

Other Decks in Technology

Transcript

  1. 8FC051"1*Λࢼͯ͠Έͨ 

  2. 8FC051"1*ͱ͸ w $ISPNF͔Β࢖͑ΔΑ͏ʹͳͬͨϒϥ΢βʹ౥ࡌ͞Εͨ"1*
 IUUQTEFWFMPQFSTKQHPPHMFCMPHDPNDISPNFXFCPUQXFCBOJNBUJPOTIUNM w 4.4ೝূͷ69Λ޲্͢ΔͨΊͷ"1*
 ྫ   ສԁৼࠐΉ

    ࣮ߦ ొ࿥͞Εͨి࿩൪ ߸ʹύεϫʔυΛ ૹΓ·ͨ͠ ύεϫʔυೖྗ ສԁͷৼࠐΈ ͕׬ྃ͠·ͨ͠
  3. 8FC051"1*͸ԿΛ͢Δͷʁ w 4.4ʹهࡌ͞ΕͨύεϫʔυΛ+BWB4DSJQUͰऔಘͰ͖Δʂ
 ΋ͱ΋ͱ͸4.43FDFJWFS"1*ͱ͍͏໊শͩͬͨ   ສԁৼࠐΉ ࣮ߦ ొ࿥͞Εͨి࿩൪ ߸ʹύεϫʔυΛ

    ૹΓ·ͨ͠ ύεϫʔυೖྗ ສԁͷৼࠐΈ ͕׬ྃ͠·ͨ͠ <ैདྷ>4.4ΞϓϦΛ։͍ͯ ύεϫʔυΛίϐʔͯ͠షΓ෇͚Δ <8FC051"1*>ϒϥ΢β͔Β཭ΕΔඞཁ͕ͳ͘ͳΓ ύεϫʔυͷίϐϖ࡞ۀ΋ෆཁʹͳΔ
  4. 8FC051"1*͸Կ͕͍͢͝ͷʁ w ϒϥ΢β্Ͱಈ࡞͢Δ8FCΞϓϦ͕4.4ͷ಺༰ΛऔಘͰ͖Δʂ w 18"ͷϜʔϒϝϯτҎ߱8FC͔ΒσόΠεͷػೳʹΞΫηε͢ Δ"1*͕ଓʑग़͖͍ͯͯΔ   https://goo.gle/fugu-api-tracker

  5. 8FC051"1*ͷ࢖͍ํ w 8FC051"1*ͷ࣮ߦ w 4.4ͷϑΥʔϚοτ w 
 w XFCEFWͷهࣄͰৄ͘͠঺հ͞Ε͍ͯΔ 

     ͜ΕΛ࣮ߦ͓ͯ͘͠ͱ 4.4ड৴࣌ʹDPOUFOUʹ৘ใ ͕ೖͬͯ͘Δ ύεϫʔυ͸DPOUFOUDPEFͰͱΕΔͷͰ
 ೖྗҬʹࣗಈೖྗͤ͞ΔͳͲ͢Ε͹Α͍ !YYYͰ8FC051"1*Λ࣮ߦ͢Δ8FCϖʔδͷ υϝΠϯΛࢦఆ͢Δඞཁ͕͋Δ YYYͰࢦఆͨ͠஋Λύεϫʔυͱ ೝࣝͯ͠औಘͯ͘͠ΕΔ https://web.dev/web-otp/
  6. σϞ   w ؆қ051ΞϓϦΛ࡞ͬͯࢼͯ͠Έͨ https://github.com/ozaki25/web-otp-demo

  7. σϞͷߏ੒ᶃ   id123 090-xxxx-xxxx pass123 API Gateway Lambda SNS

    DynamoDB id123 pass123 OTP⽣成
  8. σϞͷߏ੒ᶄ   id123 pass123 API Gateway Lambda SNS DynamoDB

    id123 pass123 OTPチェック
  9. ͋Γ͕ͱ͏͍͟͝·ͨ͠