티스토리 뷰
준비물
- Fibsebase console → 프로젝트 선택
- 프로젝트 개요 옆 톱니바퀴 → 프로젝트 설정 → 웹 API 키
- Authentication → 테스트에 사용할 이메일+암호 사용자 추가
CURL 사용
터미널 명령 요청 (Request)
curl 'https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=[FIREBASE_WEB_API_KEY]' \
-H 'Content-Type: application/json' \
--data-binary '{"email":"[이메일]","password":"[암호]","returnSecureToken":true}'
응답 (Response)
{
"kind": "identitytoolkit#VerifyPasswordResponse",
"localId": "3yENxxxxxxxxxxxxxxxxxxGJx1",
"email": "some@thing.com",
"displayName": "로그인 사용자 닉네임",
"idToken": "ID토큰-문자열-eyJhbGci...vQ",
"registered": true,
"profilePicture": "https://lh3.googleusercontent.com/a-/AFdxxxxxxxxxxxky_2ndP4j-xxILD7FA=x96-x",
"refreshToken": "갱신토클-APZUo0T...xXV5A",
"expiresIn": "3600"
}
응답 중 "idToken" 값 사용.
'OS-서버-서비스' 카테고리의 다른 글
GitLab Pages - Github Gist 같은 정적 웹페이지 서비스 (0) | 2016.08.19 |
---|---|
SFTP 또는 SSH Too many authentication failures 오류 (0) | 2016.03.27 |
Google Custom Search REST API v1 (0) | 2016.01.08 |
다중 호스트 ssh key 설정 (0) | 2015.10.08 |
docker 컨테이너 내에서 apt-get Unable to locate package 오류 (5) | 2015.05.19 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
- Make Use Of
- How to geek
- 인터넷 통계정보 검색시스템
- 트위터 공유 정보모음
- 웹표준KR
- 치우의 컴맹탈출구
- Dev. Cheat Sheets
- w3schools
- Dev. 조각들
- ASP Ajax Library
- CSS Tricks
- WebResourcesDepot
- jQuery Selectors Tester
- DeveloperSnippets
- Smashing Magazine
- Nettuts+
- devListing
- 웹 리소스 사이트(한)
- Mobile tuts+
- Dream In Code
- Developer Tutorials
- CSS3 Previews
- 자북
- 안드로이드 사이드
- Code Visually
- Code School
- SQLer.com
- 무료 파워포인트 템플릿
- iconPot
- Free PowerPoint Templates
- Design Bombs
- Web Designer Wall
- 1st Webdesigner
- Vandelay Design
- 무료 벡터 이미지 사이트들
- Tripwire Magazine
- Web TrendSet
- WebMonkey
- 윤춘근 프리젠테이션 디자이너 블로그
- cz.cc 무료 DNS
- [웹하드] MediaFire
- [웹하드] DivShare
- 한컴 인터넷 오피스
TAG
- PHP
- Linux
- Wordpress
- iphone
- JSON
- sencha touch
- JQuery
- laravel
- Chrome
- nginx
- Prototype
- mssql
- Docker
- CSS
- IE
- Debug
- IOS
- classic asp
- javascript
- iis
- API
- Mac
- Android
- nodejs
- 안드로이드
- 한글
- 워드프레스
- centos
- git
- ASP
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함