Category: authentication

How to set cookies for response in GraphQL mutation in Symfony 5?

How to set cookies for response in GraphQL resolver in Symfony 5? I am generating JWT token in mutation resolver and I want to set this token to Http cookie. // LoginMutator.php namespace AppGraphQLMutatorsSecurity; … class LoginMutator implements MutationInterface {…

extend authentication to a sub folder which is using a different php framework

I’m using Codeigniter for my main project which also contains a sub-folder that has another project in Symfony (Kimai). I would like to use a single sign-in both in my main project (CodeIgniter) and the sub-folder (Symfony). Both of these…