10-09-2017 07:57 AM
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
10-10-2017 05:29 PM
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.
10-11-2017 12:16 AM
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
11-21-2017 06:34 PM
I am also facing similar issue. Does anyone know how to fix this?
11-23-2017 06:06 AM
11-23-2017 05:11 PM
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.
11-23-2017 11:16 PM
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
09-13-2022 01:26 AM
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
11-24-2017 12:46 AM
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?
11-24-2017 12:52 AM
The above what thing i have mentioned that is sufficient, no much configuration. Guess you need to check with your REST APIs.
Explore our Alfresco products with the links below. Use labels to filter content by product module.