Replies: 6 comments 3 replies
-
version - 2.6.2 |
Beta Was this translation helpful? Give feedback.
-
1. Basic Auth: works { 2. Session: not works |
Beta Was this translation helpful? Give feedback.
-
Nope. You have something wrong. Can't reproduce it. You likely issue your requests in some strange way or something strips out the tokens - or you have not restarted webserver or smth like that. You need to dig deeper. I am not sure how you are generating your requests, maybe you have forgotten to restart webserver after applying the configuration or maybe your configuration is somewhat wrong. This works for me without problems: (and I know it works because I use it to test 'python api client` this way every time we release it and it has always been working |
Beta Was this translation helpful? Give feedback.
-
It also works for me when I reverse the order. So you need to look at your environment. |
Beta Was this translation helpful? Give feedback.
-
@potiuk Could you please share your Did you use secure cookie ? or database for the session? |
Beta Was this translation helpful? Give feedback.
-
sorry, our docker image was wrong. when I re-install the airflow in another ec2 instance, it works well. Thank you for your support XDXD |
Beta Was this translation helpful? Give feedback.
-
When i activate the backend auth,
REST API call works well, but session does not work. (returns
The CSRF session token is missing.
)and when i activate the session,
Rest API not works, but webserver (session) works well.
How can I activate both auth method?
I saw this, but I don't know how to.
Beta Was this translation helpful? Give feedback.
All reactions