OAuthData ProcessLogin method

Hello community,

I have a somes questions about this method, I know this method is called when the user is redirected to Telligent Evolution after logging in through the OAuth service. I also know that should return information provided by the service or return null. Now:

  1. what happens internally when you return null?
  2. What is going to see the end user if we return null? 
  3. If we return null, because a validation or a failed login or whatever, is there anything else we need to add in the login widget?

Thanks in advance!

Parents
  • You shouldn't be passing back null from this method on purpose.  If its being called, external login was successful and as such the OAuthData object should be populated accordingly.

    Otherwise it gets treated as an error and the system reacts like there was an error which means there was a problem, it should not be used for validation which really, there is nothing to validate at this point.

Reply
  • You shouldn't be passing back null from this method on purpose.  If its being called, external login was successful and as such the OAuthData object should be populated accordingly.

    Otherwise it gets treated as an error and the system reacts like there was an error which means there was a problem, it should not be used for validation which really, there is nothing to validate at this point.

Children