메뉴 건너뛰기

infra

[OAuth] 구글 OAuth2 사용

lispro062015.07.14 02:15조회 수 1090댓글 0

  • 1
    • 글자 크기

http://www.miwit.com/b/mw_tip-1197


위 페이지를 참고해 프로젝트를 생성하고 키를 발급하면 된다.


$url="https://accounts.google.com/o/oauth2/auth?scope=profile&state=%2Fprofile&redirect_uri=[경로]";

$url=$url."&response_type=code&client_id=~.apps.googleusercontent.com&approval_prompt=force";


인증서 없이 링크를 위와 같이 생성하면 간단히 처리할 수 있다.


c.jpg

lispro06 (비회원)
  • 1
    • 글자 크기
[WIN7] 안전모드에서 한글 전환 불가 해결 (by lispro06) [Gdata] php로 Zend_Gdata_Spreadsheets_ListQuery 사용 (by lispro06)

댓글 달기

첨부 (1)
c.jpg
10.8KB / Download 56
위로