cancel
Showing results for 
Search instead for 
Did you mean: 

Login on Alfresco Cloud Server

sammetaphani
Champ in-the-making
Champ in-the-making
Hi,

I am trying to work with Alfresco Cloud services to authenticate a user. I Went through API Ref document, Web Script section and forums but could not find a solution to connect Alfresco Cloud through browser.

Please help me in this.

1) Is it possible to authenticate my developer account and users account  just through browser. If yes what are the URL's
2) Does it need a session? How to get the session?


Thanks,
Phani
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
You must use OAuth to authenticate as an Alfresco in the Cloud user. If you are familiar with the "OAuth dance" you can do this by issuing HTTP calls, but most people find that it is much easier to use an OAuth library. Here are examples that use Google's OAuth library for Java:
https://code.google.com/p/alfresco-api-java-examples/

And here are similar examples that use Google's OAuth library for Python:
https://code.google.com/p/alfresco-api-python-examples/

Another popular choice is the Spring Social plugin. Jared Ottley has created an Alfresco plug-in for Spring Social here:
https://github.com/Alfresco/spring-social-alfresco

And you might also take a look at Gethin James' example here:
https://github.com/Alfresco/alfresco-oauth-sample

Jeff