Submit Search
Upload
firebase yebisu_vol2
•
Download as PPTX, PDF
•
1 like
•
5,561 views
T
Takeshi Eto
Follow
Firebase Auth with GAE & Cloud Endpoints
Read less
Read more
Technology
Slideshow view
Report
Share
Slideshow view
Report
Share
1 of 17
Download now
Recommended
CodeStarではじめるRailsアプリのCodeDeploy化
CodeStarではじめるRailsアプリのCodeDeploy化
Keishi Hosoba
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
Marco Obinu
Desarrollo de aplicaciones con Grails 3, Angular JS y Spring Security
Desarrollo de aplicaciones con Grails 3, Angular JS y Spring Security
Alvaro Sanchez-Mariscal
RDBMS with Node.js
RDBMS with Node.js
bitbank, Inc. Tokyo, Japan
Service Mesh Status Quo 2018: 2019年に向けたService Meshの現状課題の整理と考察
Service Mesh Status Quo 2018: 2019年に向けたService Meshの現状課題の整理と考察
Yoichi Kawasaki
Firebase analytics event_201607
Firebase analytics event_201607
PRADA Hsiung
Creating applications with Grails, Angular JS and Spring Security - GR8Conf U...
Creating applications with Grails, Angular JS and Spring Security - GR8Conf U...
Alvaro Sanchez-Mariscal
Firebase and AngularJS
Firebase and AngularJS
Ladislav Prskavec
Recommended
CodeStarではじめるRailsアプリのCodeDeploy化
CodeStarではじめるRailsアプリのCodeDeploy化
Keishi Hosoba
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
Marco Obinu
Desarrollo de aplicaciones con Grails 3, Angular JS y Spring Security
Desarrollo de aplicaciones con Grails 3, Angular JS y Spring Security
Alvaro Sanchez-Mariscal
RDBMS with Node.js
RDBMS with Node.js
bitbank, Inc. Tokyo, Japan
Service Mesh Status Quo 2018: 2019年に向けたService Meshの現状課題の整理と考察
Service Mesh Status Quo 2018: 2019年に向けたService Meshの現状課題の整理と考察
Yoichi Kawasaki
Firebase analytics event_201607
Firebase analytics event_201607
PRADA Hsiung
Creating applications with Grails, Angular JS and Spring Security - GR8Conf U...
Creating applications with Grails, Angular JS and Spring Security - GR8Conf U...
Alvaro Sanchez-Mariscal
Firebase and AngularJS
Firebase and AngularJS
Ladislav Prskavec
Using google appengine
Using google appengine
Wei Sun
Mastering Grails 3 Plugins - G3 Summit 2016
Mastering Grails 3 Plugins - G3 Summit 2016
Alvaro Sanchez-Mariscal
Flutter Beta but Better and Better
Flutter Beta but Better and Better
Donghyeok Kang
Mastering Grails 3 Plugins - GR8Conf US 2016
Mastering Grails 3 Plugins - GR8Conf US 2016
Alvaro Sanchez-Mariscal
Spring Cloud Kubernetes - Spencer Gibb
Spring Cloud Kubernetes - Spencer Gibb
VMware Tanzu
What is Node JS ?
What is Node JS ?
Balajihope
JS digest. May 2017
JS digest. May 2017
ElifTech
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Yoichi Kawasaki
GitLab Frontend and VueJS at GitLab
GitLab Frontend and VueJS at GitLab
Fatih Acet
Visual Studio로 Kubernetes 사용하기
Visual Studio로 Kubernetes 사용하기
충섭 김
JS digest. Mid-Summer 2017
JS digest. Mid-Summer 2017
ElifTech
Introducing wsgi_lineprof / PyCon JP 2017 LT
Introducing wsgi_lineprof / PyCon JP 2017 LT
Yusuke Miyazaki
JS digest. February 2017
JS digest. February 2017
ElifTech
Realtime Conf - Lightning node.js dev
Realtime Conf - Lightning node.js dev
Glenn Block
Orchestrating Microservices
Orchestrating Microservices
Mauricio (Salaboy) Salatino
Gameaways
Gameaways
Oleg Chorny
QCon Plus From monoliths to k8s - Workshop
QCon Plus From monoliths to k8s - Workshop
Mauricio (Salaboy) Salatino
GLobal Azure Bootcamp 2016 Lyon Benjamin Talmard Azure Micro-services Contain...
GLobal Azure Bootcamp 2016 Lyon Benjamin Talmard Azure Micro-services Contain...
AZUG FR
Julien Corioland - Keynote - Global Azure Bootcamp 2016 Paris
Julien Corioland - Keynote - Global Azure Bootcamp 2016 Paris
AZUG FR
Serverless Tour of Heroes
Serverless Tour of Heroes
Jon Gear
GAE_20100112
GAE_20100112
Kosuke Matsuda
Serverless with Firebase - Launchpad Build Burgos
Serverless with Firebase - Launchpad Build Burgos
Carlos Azaustre
More Related Content
What's hot
Using google appengine
Using google appengine
Wei Sun
Mastering Grails 3 Plugins - G3 Summit 2016
Mastering Grails 3 Plugins - G3 Summit 2016
Alvaro Sanchez-Mariscal
Flutter Beta but Better and Better
Flutter Beta but Better and Better
Donghyeok Kang
Mastering Grails 3 Plugins - GR8Conf US 2016
Mastering Grails 3 Plugins - GR8Conf US 2016
Alvaro Sanchez-Mariscal
Spring Cloud Kubernetes - Spencer Gibb
Spring Cloud Kubernetes - Spencer Gibb
VMware Tanzu
What is Node JS ?
What is Node JS ?
Balajihope
JS digest. May 2017
JS digest. May 2017
ElifTech
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Yoichi Kawasaki
GitLab Frontend and VueJS at GitLab
GitLab Frontend and VueJS at GitLab
Fatih Acet
Visual Studio로 Kubernetes 사용하기
Visual Studio로 Kubernetes 사용하기
충섭 김
JS digest. Mid-Summer 2017
JS digest. Mid-Summer 2017
ElifTech
Introducing wsgi_lineprof / PyCon JP 2017 LT
Introducing wsgi_lineprof / PyCon JP 2017 LT
Yusuke Miyazaki
JS digest. February 2017
JS digest. February 2017
ElifTech
Realtime Conf - Lightning node.js dev
Realtime Conf - Lightning node.js dev
Glenn Block
Orchestrating Microservices
Orchestrating Microservices
Mauricio (Salaboy) Salatino
Gameaways
Gameaways
Oleg Chorny
QCon Plus From monoliths to k8s - Workshop
QCon Plus From monoliths to k8s - Workshop
Mauricio (Salaboy) Salatino
GLobal Azure Bootcamp 2016 Lyon Benjamin Talmard Azure Micro-services Contain...
GLobal Azure Bootcamp 2016 Lyon Benjamin Talmard Azure Micro-services Contain...
AZUG FR
Julien Corioland - Keynote - Global Azure Bootcamp 2016 Paris
Julien Corioland - Keynote - Global Azure Bootcamp 2016 Paris
AZUG FR
Serverless Tour of Heroes
Serverless Tour of Heroes
Jon Gear
What's hot
(20)
Using google appengine
Using google appengine
Mastering Grails 3 Plugins - G3 Summit 2016
Mastering Grails 3 Plugins - G3 Summit 2016
Flutter Beta but Better and Better
Flutter Beta but Better and Better
Mastering Grails 3 Plugins - GR8Conf US 2016
Mastering Grails 3 Plugins - GR8Conf US 2016
Spring Cloud Kubernetes - Spencer Gibb
Spring Cloud Kubernetes - Spencer Gibb
What is Node JS ?
What is Node JS ?
JS digest. May 2017
JS digest. May 2017
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
GitLab Frontend and VueJS at GitLab
GitLab Frontend and VueJS at GitLab
Visual Studio로 Kubernetes 사용하기
Visual Studio로 Kubernetes 사용하기
JS digest. Mid-Summer 2017
JS digest. Mid-Summer 2017
Introducing wsgi_lineprof / PyCon JP 2017 LT
Introducing wsgi_lineprof / PyCon JP 2017 LT
JS digest. February 2017
JS digest. February 2017
Realtime Conf - Lightning node.js dev
Realtime Conf - Lightning node.js dev
Orchestrating Microservices
Orchestrating Microservices
Gameaways
Gameaways
QCon Plus From monoliths to k8s - Workshop
QCon Plus From monoliths to k8s - Workshop
GLobal Azure Bootcamp 2016 Lyon Benjamin Talmard Azure Micro-services Contain...
GLobal Azure Bootcamp 2016 Lyon Benjamin Talmard Azure Micro-services Contain...
Julien Corioland - Keynote - Global Azure Bootcamp 2016 Paris
Julien Corioland - Keynote - Global Azure Bootcamp 2016 Paris
Serverless Tour of Heroes
Serverless Tour of Heroes
Similar to firebase yebisu_vol2
GAE_20100112
GAE_20100112
Kosuke Matsuda
Serverless with Firebase - Launchpad Build Burgos
Serverless with Firebase - Launchpad Build Burgos
Carlos Azaustre
DevFest Forged in Firebase
DevFest Forged in Firebase
MihaiPistol
Serverless with Google Cloud Functions
Serverless with Google Cloud Functions
Jerry Jalava
アプリケーションエンジニアへのいちおし Azure Update at Microsoft Ignite 2020
アプリケーションエンジニアへのいちおし Azure Update at Microsoft Ignite 2020
Issei Hiraoka
OWASP ZAP Workshop for QA Testers
OWASP ZAP Workshop for QA Testers
Javan Rasokat
RESTful Apps With MongoDB
RESTful Apps With MongoDB
MongoDB
Google's serverless journey: past to present
Google's serverless journey: past to present
wesley chun
Azure and web sites hackaton deck
Azure and web sites hackaton deck
Alexey Bokov
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
e-Legion
Android x Azure 輕鬆玩 - WebApp / CognitiveService / AI - Android Taipei 2019122...
Android x Azure 輕鬆玩 - WebApp / CognitiveService / AI - Android Taipei 2019122...
Laird Cheng
Developing Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & Python
SmartBear
Backend, app e internet das coisas com NodeJS no Google Cloud Platform
Backend, app e internet das coisas com NodeJS no Google Cloud Platform
Alvaro Viebrantz
Backend, app e internet das coisas com NodeJS no Google Cloud Platform
Backend, app e internet das coisas com NodeJS no Google Cloud Platform
DevMT
20201015 Azure PaaS Update at Microsoft Ignite 2020
20201015 Azure PaaS Update at Microsoft Ignite 2020
Issei Hiraoka
Introduction to Cloud Computing with Google Cloud
Introduction to Cloud Computing with Google Cloud
wesley chun
IDEALIZE 2023 - NodeJS & Firebase Session
IDEALIZE 2023 - NodeJS & Firebase Session
Brion Mario
Angular is one fire(base)! - Shmuela Jacobs
Angular is one fire(base)! - Shmuela Jacobs
Codemotion Tel Aviv
App engine ja night 9 beertalk2
App engine ja night 9 beertalk2
SATOSHI TAGOMORI
Getting Started with Firebase Cloud Functions
Getting Started with Firebase Cloud Functions
Muhammad Samu
Similar to firebase yebisu_vol2
(20)
GAE_20100112
GAE_20100112
Serverless with Firebase - Launchpad Build Burgos
Serverless with Firebase - Launchpad Build Burgos
DevFest Forged in Firebase
DevFest Forged in Firebase
Serverless with Google Cloud Functions
Serverless with Google Cloud Functions
アプリケーションエンジニアへのいちおし Azure Update at Microsoft Ignite 2020
アプリケーションエンジニアへのいちおし Azure Update at Microsoft Ignite 2020
OWASP ZAP Workshop for QA Testers
OWASP ZAP Workshop for QA Testers
RESTful Apps With MongoDB
RESTful Apps With MongoDB
Google's serverless journey: past to present
Google's serverless journey: past to present
Azure and web sites hackaton deck
Azure and web sites hackaton deck
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
Android x Azure 輕鬆玩 - WebApp / CognitiveService / AI - Android Taipei 2019122...
Android x Azure 輕鬆玩 - WebApp / CognitiveService / AI - Android Taipei 2019122...
Developing Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & Python
Backend, app e internet das coisas com NodeJS no Google Cloud Platform
Backend, app e internet das coisas com NodeJS no Google Cloud Platform
Backend, app e internet das coisas com NodeJS no Google Cloud Platform
Backend, app e internet das coisas com NodeJS no Google Cloud Platform
20201015 Azure PaaS Update at Microsoft Ignite 2020
20201015 Azure PaaS Update at Microsoft Ignite 2020
Introduction to Cloud Computing with Google Cloud
Introduction to Cloud Computing with Google Cloud
IDEALIZE 2023 - NodeJS & Firebase Session
IDEALIZE 2023 - NodeJS & Firebase Session
Angular is one fire(base)! - Shmuela Jacobs
Angular is one fire(base)! - Shmuela Jacobs
App engine ja night 9 beertalk2
App engine ja night 9 beertalk2
Getting Started with Firebase Cloud Functions
Getting Started with Firebase Cloud Functions
Recently uploaded
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard37
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
GDSC PJATK
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
panagenda
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
FIDO Alliance
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
FIDO Alliance
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
2024 May Patch Tuesday
2024 May Patch Tuesday
Ivanti
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
Wonjun Hwang
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
AnitaRaj43
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Exakis Nelite
How to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in Pakistan
danishmna97
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Paige Cruz
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
Memoori
Overview of Hyperledger Foundation
Overview of Hyperledger Foundation
Hyperleger Tokyo Meetup
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
FIDO Alliance
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
中 央社
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
ScyllaDB
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
FIDO Alliance
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
Safe Software
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
danishmna97
Recently uploaded
(20)
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
2024 May Patch Tuesday
2024 May Patch Tuesday
CORS (Kitworks Team Study 양다윗 발표자료 240510)
CORS (Kitworks Team Study 양다윗 발표자료 240510)
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
How to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in Pakistan
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
Overview of Hyperledger Foundation
Overview of Hyperledger Foundation
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
firebase yebisu_vol2
1.
Firebase Auth with GAE
& Cloud Endpoints 2018-02-20 Firebase.yebisu #2 Takeshi Eto
2.
衛藤 剛史(Takeshi ETO) @doramusukotake LIFULL
Co., Ltd. ● LIFULL HOME’S ○ Android ○ Firebase ○ Backend API(AWS / GCP) ○ Machine Learning
3.
APIのセキュリティ
4.
• 自前で実装 • フレームワーク •
AWS Cognito • Cloud Endpoints
5.
• 自前で実装 • フレームワーク •
AWS Cognito • Cloud Endpoints
6.
きっかけ ● Python3.6 ● 認証自前実装は嫌 ●
WebからもiOS/Androidからも使える ● GCP上で実現したい
7.
Cloud Endpoints App
Engine Firebase Auth
8.
• JWT(JSON Web
Token) / API Key / Firebase • API Monitoring • API Framework • Web + iOS + Android Cloud Endpoints
9.
Cloud Endpoints OpenAPI(旧Swagger)で定義
10.
11.
securityDefinitions: api_key: type: "apiKey" name: "key" in:
"query" google_jwt: authorizationUrl: "" flow: "implicit" type: "oauth2" x-google-issuer: "jwt-client.xxx" x-google-jwks_uri: "xxx" x-google-audiences: "xxx" gae_default_service_account: authorizationUrl: "" flow: "implicit" type: "oauth2" x-google-issuer: "xxx" x-google-jwks_uri: "xxx" x-google-audiences: "xxx" google_service_account: authorizationUrl: "" flow: "implicit" type: "oauth2" x-google-issuer: "xxx" x-google-jwks_uri: "xxx" x-google-audiences: "xxx" google_id_token: authorizationUrl: "" flow: "implicit" type: "oauth2" x-google-issuer: "xxx" x-google-jwks_uri: "xxx" x-google-audiences: "xxx" firebase: authorizationUrl: "" flow: "implicit" type: "oauth2" x-google-issuer: "xxx" x-google-jwks_uri: "xxx" x-google-audiences: "xxx"
12.
App Engine Cloud Endpointsを指定する
13.
GAEの設定yamlにEndpointsを追加するだけ runtime: python env: flex entrypoint:
gunicorn -b :$PORT main:app runtime_config: python_version: 3 endpoints_api_service: name: ENDPOINTS-SERVICE-NAME config_id: ENDPOINTS-CONFIG-ID
14.
アプリ private fun auth()
{ mAuth!!.signInAnonymously() .addOnCompleteListener(this, OnCompleteListener { val user = mAuth!!.currentUser ?: return@OnCompleteListener user.getIdToken(true) .addOnCompleteListener { task -> if (task.isSuccessful) { val token = task.result.token print(token) } } }) }
15.
{ "iss": "https://securetoken.google.com/xxxxxxxxxxxxxxxxx", "provider_id": "anonymous", "aud":
"xxxxxxxxxxxxxxxxxxxxxx", "auth_time": 1518697714, "user_id": "xxxxxxxxxxxxxxxxxxxxxx", "sub": "xxxxxxxxxxxxxxxxxxxxxx", "iat": 1519115578, "exp": 1519119178, "firebase": { "identities": {}, "sign_in_provider": "anonymous" } }
16.
まとめ ● Python3.6 ● 認証自前実装は嫌 ●
WebからもiOS/Androidからも使える ● GCP上で実現したい
17.
END
Download now