Authorization Bearer not supported - Alfresco Community

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2022 12:55 PM
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",
}
}
I'm using the project's docker compose, with the image "alfresco/alfresco-content-repository-community:7.3.0" .
Labels:
- Labels:
-
Alfresco Content Services
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 12:41 PM
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
