Authorization Bearer not supported - Alfresco Community

cancel
Showing results for 
Search instead for 
Did you mean: 
renatoc1
Active Member II

Authorization Bearer not supported - Alfresco Community

Hi. I'm getting an error when i send a GET API request to "http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/sites" with a Bearer token. The token was created by keycloak and i tested with Postman Authorization Bearer token, only for test that authorization request.

{
    "error": {
        "errorKey""framework.exception.ApiDefault",
        "statusCode"401,
        "briefSummary""10180005 Authorization 'Bearer' not supported.",
        "stackTrace""For security reasons the stack trace is no longer displayed, but the property is kept for previous versions",
        "descriptionURL""https://api-explorer.alfresco.com"
    }
}
 
I'm using the project's docker compose, with the image "alfresco/alfresco-content-repository-community:7.3.0" .
1 Reply
alaeddine
Member II

Re: Authorization Bearer not supported - Alfresco Community

Hi reantoc,

I hope you're doing well. I'm having the same trouble with bearer authorization, and I was wondering if you could help me out. did you find a way to solve the probleme? if yes. could you please tell me how you did it

thanks