Error 401 Unauthorized

GET https://portal.espaciorack.com/api/me

Security

Token

There is no security token. It was removed in 27e96d.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\AuthenticationEntryPoint
user_checker security.user_checker
access_denied_handler App\Security\AccessDeniedHandler
access_denied_url (none)
authenticators
[
  "switch_user"
  "two_factor"
  "json_login"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#182
  -map: Symfony\Component\Security\Http\AccessMap {#183 …}
  -logger: Monolog\Logger {#171 …}
  -httpPort: 80
  -httpsPort: 443
}
(none) (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#210
  -sessionKey: "_security_main"
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#166 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#206 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#255 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#209 …}
  -logger: Monolog\Logger {#171 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#144 …}
}
6.21 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#25
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#226 …}
}
(none) (none)
Symfony\Component\Security\Http\Firewall\SwitchUserListener {#2
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#256 …}
  -provider: Symfony\Bridge\Doctrine\Security\User\EntityUserProvider {#122 …}
  -userChecker: Symfony\Component\Security\Core\User\InMemoryUserChecker {#19 …}
  -firewallName: "main"
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#26 …}
  -logger: Monolog\Logger {#171 …}
  -usernameParameter: "switch_to_user"
  -role: "ROLE_ALLOWED_TO_SWITCH"
  -dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#369 …}
  -stateless: false
  -urlGenerator: Symfony\Bundle\FrameworkBundle\Routing\Router {#272 …}
  -targetRoute: "app_me"
}
(none) (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#55
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#315 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#256 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#12 …}
}
0.21 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#50
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#256 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#26 …}
  -map: Symfony\Component\Security\Http\AccessMap {#183 …}
}
6.76 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#174
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "api_logout"
  ]
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#256 …}
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#252 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#144 …}
  -csrfTokenManager: null
}
(none) (none)

Authenticators

Status Authenticator
skipped
"Scheb\TwoFactorBundle\Security\Http\Authenticator\TwoFactorAuthenticator"

This authenticator did not support the request.

skipped
"Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"

This authenticator did not support the request.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"App\Security\InvoiceAccessVoter"
3
"App\Security\PermissionVoter"

Access decision log

# Result Attributes Object
1 DENIED IS_AUTHENTICATED_FULLY
Symfony\Component\HttpFoundation\Request {#20
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#63 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#61 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#62 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#66 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#65 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#64 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#67 …}
  #content: ""
  #languages: [
    "es"
  ]
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/me"
  #requestUri: "/api/me"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#41 …}
  #locale: "es"
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
DENIED
The user is not appropriately authenticated.
"App\Security\InvoiceAccessVoter"
ABSTAIN
"App\Security\PermissionVoter"
ABSTAIN
Show voter details