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
Access to XMLHttpRequest at 'https://domain/api/logout/' from origin 'https://domain' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
#14945
I understand that AWX is open source software provided for free and that I might not receive a timely response.
I am NOT reporting a (potential) security vulnerability. (These should be emailed to security@ansible.com instead.)
Bug Summary
After the end-user logout with the API '/api/logout', the issue occurred with a message below.
Access to XMLHttpRequest at 'https://domain/api/logout/' from origin 'https://domain' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I researched this issue in Envoy, then I configured the Envoy configurations below
routes:
- match
prefix: "/api/logout"
route:
cluster: awx
timeout: 3600s
cors:
allow_origin_string_match:
- prefix: "https://domain"
allow_credentials: true
allow_methods: GET
The issue is still occurring with the other message below.
Access to XMLHttpRequest at 'https://domain/api/' ( redirected from 'https://domain/api/logout/') from origin 'https://domain' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Then I continuing configure the Envoy configurations with the path '/api/' as well. The above message is still occurring.
Could you guy help me to solve this issue? I appreciate it very much.
Best regards.
AWX version
23.6.0
Select the relevant components
UI
UI (tech preview)
API
Docs
Collection
CLI
Other
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
Log in to AWX.
Log out from AWX.
Expected results
The end-user can log out without any errors about the cors.
Actual results
The CORS error occurred with the message below.
Access to XMLHttpRequest at 'https://domain/api/logout/' from origin 'https://domain' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Please confirm the following
security@ansible.com
instead.)Bug Summary
After the end-user logout with the API '/api/logout', the issue occurred with a message below.
I researched this issue in Envoy, then I configured the Envoy configurations below
The issue is still occurring with the other message below.
Then I continuing configure the Envoy configurations with the path '/api/' as well. The above message is still occurring.
Could you guy help me to solve this issue? I appreciate it very much.
Best regards.
AWX version
23.6.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
Expected results
The end-user can log out without any errors about the cors.
Actual results
The CORS error occurred with the message below.
Additional information
No response
The text was updated successfully, but these errors were encountered: