Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accesing authentication with https #24

Open
RodolfoMontenegro opened this issue Feb 22, 2024 · 0 comments
Open

Accesing authentication with https #24

RodolfoMontenegro opened this issue Feb 22, 2024 · 0 comments

Comments

@RodolfoMontenegro
Copy link

RodolfoMontenegro commented Feb 22, 2024

Hello, I´m having trouble finding a way to access https://my.domain.com/qwc_admin/
I can access it without problems with my.ip.address:8088/qwc_admin
or with https://my.domain.com:8088/qwc_admin/

Since de auth pulls the url with "http" like this https://my.domain.com/auth/login?url=http://my.domain.com/qwc_admin/

This happens with /auth/login and also with /auth/logout/

I also added the following for the Authentication pluggin:

  {
    "name":"Authentication",
    "cfg":{
      "logoutTargetUrl":"my.domain.com"
    }
  },

*Update:

My logs say:

[pid: 6|app: 0|req: 60/60] 172.24.0.13 () {48 vars in 895 bytes} [Tue Feb 27 16:27:14 2024] GET /auth/login?url=https://my.domain.com/qwc_admin/ => generated 2023 bytes in 11 msecs (HTTP/1.0 200) 3 headers in 95 bytes (1 switches on core 0)

[pid: 6|app: 0|req: 61/61] 172.24.0.13 () {50 vars in 912 bytes} [Tue Feb 27 16:27:14 2024] GET /auth/static/style.css => generated 0 bytes in 3 msecs (HTTP/1.0 304) 4 headers in 178 bytes (0 switches on core 1)

As if they are getting the correct url, but the proxy redirects me still to https://my.domain.com/auth/login?url=http://my.domain.com/qwc_admin

Getting me a 403 Forbidden.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant