FYI, I have removed all unnecessary components and try to the Oauth2.showAuthentication again. It now loads the same error page - disallowed_useragent. Thanks.
On Tuesday, July 4, 2017 at 4:26:31 PM UTC+8, [email protected] wrote: > > I was trying to perform OAuth 2 with Google plus but it returns the 403 > page, "Error: disallowed_useragent" when opening the page with > BrowserComponent. > It works before, and so it seems that Google has changed the policies. > > I have also used the Oauth2.showAuthentication for testing, but it keeps > loading forever. > It works with simulator however. > > As we cannot customize the User-agent of BrowserComponent, what we should > do to overcome this problem? > Thanks. > > Jensan > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/ff1fa46d-ebd6-472a-bb2c-c42808f817a4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
