I've implemented Google login to my Grails 3.1.9 application using these plugins: compile 'org.grails.plugins:spring-security-core:3.1.1' compile 'org.grails.plugins:spring-security-oauth2:1.1.0' compile 'org.grails.plugins:spring-security-oauth2-google:1.1.0'  It works great for most users. The problem is that some users get this kind of error after clicking on Google login button: Google error message I found out that this problem is probably related to updated security restrictions in Google, which no longer allow embedded browsers to send OAuth requests. Does someone know how to solve this error in Grails?