Error 401 Unauthorized

GET https://testing25.beeznest.com/api/courses/2

Security

Token

There is no security token.

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point security.authenticator.jwt.api
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "jwt"
  "json_login"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#2984
  -map: Symfony\Component\Security\Http\AccessMap {#2985 …}
  -logger: Monolog\Logger {#2964 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#3009
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#785 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#2964 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#3010 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#2993 …}
  -registered: false
  -trustResolver: Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver {#1134 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#3012 …}
}
0.02 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#3021
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#3019 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#3023
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#787 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#792 …}
  -map: Symfony\Component\Security\Http\AccessMap {#2985 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

unanimous Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
4
"Chamilo\CoreBundle\Security\Authorization\Voter\AnonymousVoter"
5
"Chamilo\CoreBundle\Security\Authorization\Voter\CCalendarEventVoter"
6
"Chamilo\CoreBundle\Security\Authorization\Voter\CourseVoter"
7
"Chamilo\CoreBundle\Security\Authorization\Voter\GroupVoter"
8
"Chamilo\CoreBundle\Security\Authorization\Voter\MessageRelUserVoter"
9
"Chamilo\CoreBundle\Security\Authorization\Voter\MessageTagVoter"
10
"Chamilo\CoreBundle\Security\Authorization\Voter\MessageVoter"
11
"Chamilo\CoreBundle\Security\Authorization\Voter\ResourceNodeVoter"
12
"Chamilo\CoreBundle\Security\Authorization\Voter\ResourceVoter"
13
"Chamilo\CoreBundle\Security\Authorization\Voter\SessionVoter"
14
"Chamilo\CoreBundle\Security\Authorization\Voter\SocialPostVoter"
15
"Chamilo\CoreBundle\Security\Authorization\Voter\TrackEAttemptQualifyVoter"
16
"Chamilo\CoreBundle\Security\Authorization\Voter\TrackEExerciseVoter"
17
"Chamilo\CoreBundle\Security\Authorization\Voter\UserRelUserVoter"
18
"Chamilo\CoreBundle\Security\Authorization\Voter\UserVoter"
19
"Chamilo\CoreBundle\Security\Authorization\Voter\UsergroupVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_ADMIN
null
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
attribute ROLE_ADMIN ACCESS DENIED
Show voter details
2 DENIED VIEW
Chamilo\CoreBundle\Entity\Course {#3989
  +contentUrl: null
  +downloadUrl: null
  +contentFile: null
  +illustrationUrl: null
  +resourceNode: Chamilo\CoreBundle\Entity\ResourceNode {#4189 …}
  +parentResourceNode: 0
  +uploadFile: null
  +parentResource: null
  +resourceLinkListFromEntity: null
  +resourceLinkList: []
  +resourceLinkEntityList: []
  +resourceNodeCreator: null
  #id: 2
  #title: "COURSE2"
  #code: "COURSE2"
  #visualCode: "COURSE2"
  #users: Doctrine\ORM\PersistentCollection {#4466 …}
  #urls: Doctrine\ORM\PersistentCollection {#3991 …}
  #sessions: Doctrine\ORM\PersistentCollection {#4002 …}
  #sessionRelCourseRelUsers: Doctrine\ORM\PersistentCollection {#4021 …}
  #tools: Doctrine\ORM\PersistentCollection {#4072 …}
  #currentSession: ? Chamilo\CoreBundle\Entity\Session
  #currentUrl: ? Chamilo\CoreBundle\Entity\AccessUrl
  #skills: Doctrine\ORM\PersistentCollection {#4055 …}
  #issuedSkills: Doctrine\ORM\PersistentCollection {#4036 …}
  #gradebookCategories: Doctrine\ORM\PersistentCollection {#4088 …}
  #gradebookEvaluations: Doctrine\ORM\PersistentCollection {#4107 …}
  #gradebookLinks: Doctrine\ORM\PersistentCollection {#4126 …}
  #trackEHotspots: Doctrine\ORM\PersistentCollection {#4151 …}
  #searchEngineRefs: Doctrine\ORM\PersistentCollection {#4148 …}
  #templates: Doctrine\ORM\PersistentCollection {#4165 …}
  #directory: null
  #courseLanguage: "en_US"
  #description: "Description du cours"
  #introduction: ""
  #categories: Doctrine\ORM\PersistentCollection {#4927 …}
  #visibility: 2
  #showScore: 1
  #tutorName: ""
  #departmentName: ""
  #departmentUrl: ""
  #videoUrl: ""
  #sticky: false
  #diskQuota: 1000
  #lastVisit: DateTime @1759149720 {#3969
    date: 2025-09-29 12:42:00.0 UTC (+00:00)
  }
  #lastEdit: DateTime @1759149720 {#3972
    date: 2025-09-29 12:42:00.0 UTC (+00:00)
  }
  #creationDate: DateTime @1759149720 {#3941
    date: 2025-09-29 12:42:00.0 UTC (+00:00)
  }
  #expirationDate: DateTime @1790685720 {#3971
    date: 2026-09-29 12:42:00.0 UTC (+00:00)
  }
  #subscribe: true
  #unsubscribe: false
  #registrationCode: null
  #legal: ""
  #activateLegal: 0
  #addTeachersToSessionsCourses: false
  #courseTypeId: null
  #room: null
  -duration: null
  #popularity: 1
  +subscribed: false
}
"Chamilo\CoreBundle\Security\Authorization\Voter\AnonymousVoter"
attribute VIEW ACCESS ABSTAIN
"Chamilo\CoreBundle\Security\Authorization\Voter\CCalendarEventVoter"
attribute VIEW ACCESS ABSTAIN
"Chamilo\CoreBundle\Security\Authorization\Voter\CourseVoter"
attribute VIEW ACCESS DENIED
Show voter details