How to save oauth2 profile

After I log in to the frappe application through cas oauth2, how do I save the user’s profile? Which field of user should I save to? It is a json type.