Firebase Auth & Performance Monitoring

1b177b37d966f573b1df5d7218a5f560?s=47 k2wanko
June 27, 2019

Firebase Auth & Performance Monitoring

1b177b37d966f573b1df5d7218a5f560?s=128

k2wanko

June 27, 2019
Tweet

Transcript

  1. Firebase Auth と Performance Monitoring 2019/06/27 @k2wanko Google I/O 2019

    報告会 Firebase Japan User Group Organizer Security Engineer
  2. Google I/O 2019 ほぼリアルタイムレポート Firebaseのセッションやブース展示、注目の技術 https://www.youtube.com/watch?v=5F1KNI-KOAc

  3. Update Topic

  4. None
  5. None
  6. Update Topic

  7. Update Topic

  8. What’s New Auth

  9. New Support Providers

  10. Authentication Support Stackdriver Logging

  11. 今の所有効にするUIはないので APIからONにする curl -d "{'monitoring': {'requestLogging':{'enabled':true}}}" \ -H 'Authorization: Bearer

    [AUTH_TOKEN]' -X PATCH \ -H 'Content-Type: application/json' \ https://identitytoolkit.googleapis.com/admin/v2/projects/[PROJECT_ID]/config?upd ateMask=monitoring.requestLogging.enabled
  12. Stackdriver Loggingから確認ができる

  13. MFA Support

  14. SMS based MFA - SMSを使ってMFA - Private Alpha

  15. Authentication + Cloud Functions beforeCreate beforeSignIn (Blocking Function)

  16. Blocking Function - ユーザーの作成時や、認証時にFunctionsでロジックを書ける機能 - Private Alpha - g.co/firebasealpha

  17. What’s New Performance Monitoring

  18. Web Support

  19. 取れるmetrics - first paint metric - first contentful paint metric

    - domInteractive metric - domContentLoadedEventEnd metric - loadEventEnd metric - first input delay metric https://firebase.google.com/docs/perf-mon/automatic-web
  20. first input delay metricを取る場合はpolyfillを追加 npm install --save-dev first-input-delay https://github.com/GoogleChromeLabs/first-input-delay

  21. None
  22. None
  23. https://github.com/firebasejp/website/blob/4607473/src/firebase.js

  24. 12 hours later...

  25. None
  26. 疑問 - 具体的なアクションどうするの? - Web Appのバージョン管理ってどうするの?

  27. おすすめセッション What's New in Firebase https://www.youtube.com/watch?v=x8qTEMkZCPs

  28. おすすめセッション Three New Ways to Secure Your App with Firebase

    Authentication https://www.youtube.com/watch?v=BGCLPiR_0Lg
  29. おすすめセッション Securing Web Apps with Modern Platform Features https://www.youtube.com/watch?v=DDtM9caQ97I

  30. Enjoy @k2wanko