Auth0 Home Blog Docs

disallowed_useragent Native iOS OAuth

disallowed_useragent

#1

With the rollout of Google’s user agent restrictions, I know this question has been asked in other contexts already, but:

Does Auth0 Lock for iOS (Swift) have a solution for this Google OAuth login problem?

Does this solution use Swift 2.3/Swift 2.x? I haven’t migrated my native iOS app to Swift 3 and would like to use legacy Swift 2.3 libraries for the time being.


#2

This issue is caused by Google blocking authentication from embedded browsers, such as webviews. It will work if the google login page opens in the mobile browser. If you try the latest version of Lock.swift you should not run into this issue.


#3