모바일에서 구글을 열려고 할때 오류 발생
Access blocked: Authorization Error
You can’t sign in from this screen because this app doesn’t comply with Google’s secure browsers policy. If this app has a website, you can open a web browser and try signing in from there.
You can let the app developer know that this app doesn’t comply with Google’s secure browsers policy. Learn more about this error
If you are a developer of EmoTrak, see error details.
Error 403: disallowed_useragent
내부 구현 조건인 webview 로 된 인앱 브라우져로 googleOauth 2.0 링크를 여는 경우 발생하는 문제
구글은 2016년 10월 20일 부터 webview로 구글 인증을 하지 못하도록 막았다. (Google 정책 변경으로 Chrome을 기본 브라우저 설정)
즉, 구글 인증 링크를 웹으로 열기 위해서는 앱에서 브라우저를 호출해야 하는데 이때 호출하는 인앱 브라우저의 구현체가 webview 인 경우 오류가 발생한다 .
https://developers-kr.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html
안드로이드& 갤럭시 크롬 다운로드 https://play.google.com/store/apps/details?id=com.android.chrome
아이폰 크롬 다운로드
https://apps.apple.com/kr/app/google-chrome/id535886823
근본은 역시 직접구현이라고 생각하지만…. chrome 탭이란 편리한 도구를 사용하는것도 나쁘지 않다…..