You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the bundle with a custom tokenprovider which is working for one part.
So I have my tokenprovider which collects all subscribeable and publishable topics and creates a token with it.
That's working fine for the backend.
For the Client I wanted to send a cookie with a token and had a look at the Authorization class.
I would like to use it but it's not compatible with the token provider. I mean it would use a TokenFactory but not a Provider.
Hello :)
I'm trying to use the bundle with a custom tokenprovider which is working for one part.
So I have my tokenprovider which collects all subscribeable and publishable topics and creates a token with it.
That's working fine for the backend.
For the Client I wanted to send a cookie with a token and had a look at the Authorization class.
I would like to use it but it's not compatible with the token provider. I mean it would use a TokenFactory but not a Provider.
I can generate a new cookie but I need all the topics again and it's not using my token provider.
I then thought of creating the cookie myself but then I can't use the MERCURE_AUTHORIZATION_COOKIE_NAME as it's private.
Maybe I've missed something but should't it be possible to use a service which implements TokenProviderInterface with the Authorization class too?
Thanks & best Alex
The text was updated successfully, but these errors were encountered: