Added function for debug.
Getting the user profile from the oauth2 server.