S
S
Steve2022-01-10 18:32:53
symfony
Steve, 2022-01-10 18:32:53

How to bypass ApiTokenAuthenticator?

You need to make a guest and an authorized cart on the same route. I use ApiTokenAuthenticator, but when the user is not authorized, throws an exception. How to get around this so that you can continue working without authorization on a specific route? Or how can it be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Steve, 2022-01-11
@CenterJoin

The problem was that I did not exit the current session and the user was returned to me. Everything works perfectly.
Just inattention

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question