sqlpage.oidc_logout_url http instead https

Hello, i used the new function

sqlpage.oidc_logout_url

I set OIDC with Keycloak.
Sqlpage Is behind Nginx.

https://mysite.sqlpage.com as example

Sqlpage Is on 80, Nginx exposes only https on 443 Port with compliant certificate.

Login works perfecty, redirect too after login.

When i call sqlpage.oidc_logout_url('/')
the redirect url is:

http://mysite.sqlpage.com (http instead https)

Keycloak rejects logout because redirect url is invalid.
I set logout uri as * in keycloak but Firefox doesn't load the destination page because is on Port 80 and is It closed on my firewall.

Anyone can help me?

Thank you

  • OS: debian 13
  • Database Mssql
  • SQLPage Version 0.41.0