11-29-2020 09:16 AM
I'm trying to integrate Alfresco Community Edition 6.2 GA with our software through the Alfresco REST APIs. Our software platform already has its own Oauth2 identity provider, which I also want to use for authenticating with the Alfresco REST APIs.
A very basic use case that I am trying to get working is as follows:
A user signs in into our system by authenticating with our own identity provider. Subsequently, the user is allowed to upload a file to our platform. I want the file to go to an Alfresco repository seamlessly, without the user having to do an explicit login to Alfresco. The upload itself I can do from my code with a call to an Alfresco node REST API endpoint. However, this requires a basic token authentication against users created in Alfresco, which would mean creating and maintaning separate Alfresco identities for each of our users in our system.
I did see some documentation around SSO but they were for the Alfresco Process Services. Can someone point out to any relevant documentation on the authentication options for the content management REST APIs or provide some tips for the above scenario.
02-12-2021 04:13 PM
Hello,
Please refer the below two links that has information about te basic authentication in alfresco 6.
https://docs.alfresco.com/6.1/concepts/dev-api-by-language-alf-rest-auth-with-repo.html
https://api-explorer.alfresco.com/api-explorer/#!/authentication/createTicket
02-12-2021 06:42 PM
If you can set HTTP header, you can configure Alfresco to use external authentication and then you can call REST API as authenticated user (specified in the header).
https://docs.alfresco.com/community/concepts/auth-external-intro.html
03-06-2023 09:51 AM
Can you provide more detail on this?
Currently connecting to REST API via Basic Authorization using an INTERNAL Alfresco account we set up for that purpose. But, that's only single factor (ID/password). Looking for a way to leverage our EXTERNAL SSO (that we're using for ADW and Share access) to also allow 2FA when connecting to REST API.
09-13-2022 05:01 AM
Hi,
were you able to configure Alfresco to use external authentication server?
I have the same requirement could you please let me know the steps and which external authentication server you have used.
Thanks
Explore our Alfresco products with the links below. Use labels to filter content by product module.