fix: machine auth for GAQ enabled deployments (#29591)

This commit is contained in:
Harshit 2024-08-03 04:18:08 +05:30 committed by GitHub
parent c87a4fd642
commit 5a3b1ee3fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,8 @@ class MachineAuthProvider:
login_user(user)
# A mock response object to get the cookie information from
response = Response()
# To ensure all `after_request` functions are called i.e Websockets JWT Auth
current_app.process_response(response)
current_app.session_interface.save_session(current_app, session, response)
cookies = {}