I don’t use the OAuth2 solution for my application, so it’s hard to say which is easier.
The problem in the OP, I thinks your oauth2_user_json_url setting is the cause.
oauth2_user_json_url