Error 401 Unauthorized

GET https://staging.connect.seniorstairlifts.co.uk/api/sales-leads

Forwarded to ErrorController (26be0a)

Security

Token

There is no security token.

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.api_user_provider
context (none)
entry_point (none)
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "App\Security\ApiKeyAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#423
  -map: Symfony\Component\Security\Http\AccessMap {#424 …}
  -logger: Monolog\Logger {#414 …}
  -httpPort: 8000
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#460
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#461 …}
}
(none) (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#368
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#523 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#373 …}
  -map: Symfony\Component\Security\Http\AccessMap {#424 …}
}
0.92 ms (none)

Authenticators

Status Authenticator
skipped
"App\Security\ApiKeyAuthenticator"

This authenticator did not support the request.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
2
"App\Security\ComplaintVoter"
3
"App\Security\Engineer\InventoryVoter"
4
"App\Security\Engineer\JobVoter"
5
"App\Security\Engineer\QuoteVoter"
6
"App\Security\Engineer\StockPurchaseOrderVoter"
7
"App\Security\InvoiceVoter"
8
"App\Security\Stock\PickOrderVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_API
Symfony\Component\HttpFoundation\Request {#2
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#18 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#6 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#13 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#21 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#20 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#19 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#22 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/sales-leads"
  #requestUri: "/api/sales-leads"
  #baseUrl: ""
  #basePath: ""
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#954 …}
  #locale: null
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: [
    "2\x00\x00204.236.223.252\x00" => []
    "4\x00\x00\x00" => []
    "32\x00\x00\x00" => []
    "8\x00\x00\x00" => []
    "16\x00\x00\x00" => []
  ]
  -isIisRewrite: false
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
DENIED
The user doesn't have ROLE_API.
"App\Security\ComplaintVoter"
ABSTAIN
"App\Security\Engineer\InventoryVoter"
ABSTAIN
"App\Security\Engineer\JobVoter"
ABSTAIN
"App\Security\Engineer\QuoteVoter"
ABSTAIN
"App\Security\Engineer\StockPurchaseOrderVoter"
ABSTAIN
"App\Security\InvoiceVoter"
ABSTAIN
"App\Security\Stock\PickOrderVoter"
ABSTAIN
Show voter details