ansibleguy76 / ansibleforms

A webapplication to create pretty advanced forms to run ansible playbooks or awx templates.
https://ansibleforms.com/
GNU General Public License v3.0
66 stars 10 forks source link

express router config in async context does not work properly #191

Closed mdaugs closed 2 months ago

mdaugs commented 2 months ago

The async init prevented proper configuration of the API endpoints.
I assume this is related to async ressource handling. I noticed the error, because redirection to OIDC provider and Azure was broken

mdaugs commented 2 months ago

I also added a small fix for cookie-session that prevented logout for OIDC (related to this issue: https://github.com/jaredhanson/passport/issues/907)

ansibleguy76 commented 2 months ago

I reworked it a little bit.. but kept the main concept

ansibleguy76 commented 2 months ago

Can you test the changes ? also on dockerhub pushed (beta)