Hello,
I tried to integrate oauth(my own oauth) with alfresco but am getting message "Invalid Credentials". The steps i followed attached here in word document format.
Can anyone help me how to integrate oauth with alfresco.
Thanks
Amruta
This is a new feature in the Process Service product. If it is not working as expected, I suggest raising a case using your customer/partner portal.
I am using trial version my own oauth i.e., UAA from cloud foundry.I feel that some cookie is not setting so if u can guide me it will be great.
Thanks
Amruta
I am also facing similar issue. Does anyone know how to fix this?
Hi Amruta,
I was able to do oauth SSO for APS application. However, I am not able to invoke REST API calls to start process/complete tasks etc. It is giving me unauthorized error. Was wondering if I need to specify security.oauth2.client.checkToken url for my github. I was not able to locate any such url on github though.
for github
security.authentication.use-externalid = true //this line you need to add with github or any oauth
#set this true to enable oauth2 authentication
security.oauth2.authentication.enabled=true
#client id and client secret provided authorization server
security.oauth2.client.clientId=
security.oauth2.client.clientSecret=
security.oauth2.client.userAuthorizationUri=https://github.com/login/oauth/authorize
security.oauth2.client.tokenName=oauth_token
security.oauth2.client.accessTokenUri=https://github.com/login/oauth/access_token
security.oauth2.client.userInfoUri=https://api.github.com/user
or you can refer the link
Configuring the OAuth 2 client for the APS app | Alfresco Documentation
Hi Amruta,
I have done that and as mentioned before, I am able to successfully get into APS landing page after getting authenticated with github. The problem that I am now facing is that i am not able to access REST APIs, even though I am providing the ouath bearer token in the Authorizartion header. Is there any additional configuration that i need to make?
The above what thing i have mentioned that is sufficient, no much configuration. Guess you need to check with your REST APIs.
Hi,
Actually I'm following the same setup, with my github clientid and clientSecret.
After grant my github access, I'm gettting Invalid credentials message.
Can you please let me know, is there any other steps I need to complete.
Thanks
Rudresh
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.