function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
subaasubaa 

Can we use Chatter API without the knowledge of OAuth?

Hi,

 

Can we use Chatter API without the knowledge of OAuth protocol? Assume that I want to use Chatter data in my Java application and no matters of securing my (user's) credential from that java application.

 

Regards,

SuBaa

ChrisOctagonChrisOctagon

If you do not care about security you can use the "username/password flow" from OAuth which requires no user interaction. I would advise you to not ever do this though as it is very insecure!!!

ChrisOctagonChrisOctagon

I suggest that you learn about OAuth 2 (http://hueniverse.com/2010/05/introducing-oauth-2-0/) and carefully read the spec (http://tools.ietf.org/html/draft-ietf-oauth-v2-27) in order to make an informed decision about your security needs.

subaasubaa

Thanks Chris. I tested 'password' auth flow before and thought of checking any other option(s) may suit for my requirement.

 

Regards,

SuBaa