OAuth2를 사용하여 인증하는 일부 Google API를 공격 할 모바일 앱을 개발 중입니다.Google의 OAuth2에 모바일 친화적 승인 페이지를 표시 할 수 있습니까?
꽤 잘 돌아가고 있지만 승인 Uri로 이동하면 Google은 완전한 데스크톱 앱 승인 페이지처럼 보이게됩니다. 너무 나쁘지는 않지만 Google의 OAuth 1에 표시하도록 요청할 수있는 모바일 버전을 삭제하는 것이 좋습니다.
은
btmpl
(optional) Forces a mobile version of the approval page. The only accepted value is "mobile". This is a Google-specific parameter.
(http://code.google.com/apis/accounts/docs/OAuth_ref.html에서) 나는 OAuth2를 승인 열린하지만 기쁨에 추가 시도했습니다. 따라서 Google installed application auth flow을 사용하는 경우 작은 화면 장치에서 요청이 있음을 나타내는 옵션이 있습니까?
의 OAuth 엔드 포인트 내가 사용 : 당신이에 이미 언급하는
https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http://localhost&scope=https://www.googleapis.com/auth/userinfo.profile&client_id=XXXXXXX.apps.googleusercontent.com
WP7에도 작동하지 않습니다 ... http://stackoverflow.com/questions/6891813/mobile-oauth-ui-failing-to-load-in-wp7을 참조하십시오. –