Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Sign In Issue #5

Open
sowjanyaganji opened this issue Jul 13, 2015 · 6 comments
Open

Google Sign In Issue #5

sowjanyaganji opened this issue Jul 13, 2015 · 6 comments

Comments

@sowjanyaganji
Copy link

Hi,
Thanks for the project I have Downloaded the project but I have got the Issue at Scribe dependency but I have modified and Build the project and i have added into the share lib folder and changed all the configurations as mentioned But when I have started the server i am not even seeing any change.

I have some doubts How Google login works I mean It shows any new Button for google In the Login screen. Can you please provide any screen shots that how it works.

And please suggest me where i am going wrong.Thank you!!!!

@gdepourtales
Copy link
Owner

Hi

Actually if the filter is correctly installed, the user should be redirected automatically to the Google login page where (s)he can authenticate (no button or user interaction). Once the identity validated by Google, the user should be redirected to your share server. If the user did not exist before, it also should be created automatically in Alfresco.

BTW, you need to configure Google API and replace the values in the example with yours. See comments in the XML file.

@sowjanyaganji
Copy link
Author

Hi,
Thanks for the reply.. I have added my google values in share-config-custom.xml file. Actually i am using Alfresco 5 version..Should I make any changes in any configurations??

And I need to add any values in global.properties file?

@sipatha
Copy link

sipatha commented Jul 16, 2015

@sowjanyaganji You said ...but I have got the Issue at Scribe dependency but I have modified and Build the project.... I hope this does not mean you changed the version in the pom.xml. You should actually checkout the modified scribe-java project and run mvn clean install before building share-oauth-sso as detailed in the build notes. Also make sure you add the filter and filter mappings before any other filter in the web.xml file, that sequence is very important. No changes are required to the properties file.

@sowjanyaganji
Copy link
Author

i have stuck at filter mapping because the filter mapping is not loading and it is re-loading to home page not to google login page. I am unable to know that the filter that i have added is effected or not.
I am not even getting error at log files please suggest me any solution.

@mlt
Copy link

mlt commented Aug 17, 2015

I confirm everything is working with Alfresco 5 (Bitnami VM appliance). It does redirect to Google on its own, no login form appears.
Check logs for errors, in particular <apache-tomcat>/logs/catalina-daemon.out if using bitnami. It may not be obvious, if you didn't follow the development of this extension and came across anew (like myself), but the front page fails to mention

            <name>Google2Api</name>
            <prompt>auto</prompt>

in share-config-custom.xml , although it is there in test samples.

@piyajigar84
Copy link

Hi, I am not able to build the project itself to get the jar file created. Can you please help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants