cancel
Showing results for 
Search instead for 
Did you mean: 

How to call Alfresco REST APIs using OAuth instead of Basic Auth?

pmedia
Champ on-the-rise
Champ on-the-rise

Hi,

I need guidance on how to call Alfresco REST APIs using OAuth or another token-based authentication mechanism instead of Basic Auth, specifically for the community version.

Thanks!

1 REPLY 1

Paudiger
Confirmed Champ
Confirmed Champ

Hi,

I suppose there are different ways to do it but for my part, I used an external Keycloak to link with Identity Services (Documentation). On my case, i used Azure AD as an external identity provider but there are other ones that could work. I also added a reverse proxy on which i configured a location on Alfresco REST APIs link that needs a field "Bearer" in its Authorization headers (otherwhise, the user has to connect using the identity provider configured).
So, i need a Bearer token mechanism to call Alfresco REST APIs with this configuration.

Hope it helps you.