#5423 Logout redirects to plain text HTTP
Opened a year ago by crameleon. Modified 11 months ago

Using the "Log Out" function on our Pagure instance (code.opensuse.org) in Firefox shows

Secure Site Not Available
You’ve enabled HTTPS-Only Mode for enhanced security, and a HTTPS version of code.opensuse.org is not available.

while trying to redirect to dashboard/projects. Confirming the security warning then follows with another redirect to the OpenID provider (correctly using HTTPS).

Downstream issue https://progress.opensuse.org/issues/152709.


Metadata Update from @ngompa:
- Issue tagged with: UI, bug

a year ago

Metadata Update from @ngompa:
- Issue tagged with: easyfix

a year ago

This is weird, because judging by your configuration, @bmwiedemann configured it for HTTPS two years ago: https://code.opensuse.org/heroes/salt/c/721fdf3f2567de523756f6c625cb397a9b450ecf

@pingou Hello, I am Daisy an Outreachy intern and I would like to work on this issue. Can it be assigned to me? Kindly advice.

@ngompa Could you assign it to them please?

I suggest to just work on it if you feel like it, there's no other activity around this issue anyways.

Metadata Update from @wombelix:
- Issue assigned to sawe-dee

a year ago

@sawe-dee I assigned the issue to you, please feel free to work on it and let me know if you need help.

Metadata Update from @wombelix:
- Issue set to the milestone: 6.0

a year ago

Metadata Update from @wombelix:
- Issue set to the milestone: 5.14 (was: 6.0)

a year ago

Metadata Update from @wombelix:
- Issue assigned to wombelix (was: sawe-dee)

a year ago

The config parameter PREFERRED_URL_SCHEME doesn't exist in current code base anymore.

It was introduced in commit f1a2e7c = Temporarily bundle python-fedora's flask_fas_openid and then removed in commit bbfabf0 = Use the python-fedora version of flask_fas_openid.

So it comes from https://github.com/fedora-infra/python-fedora/blob/develop/flask_fas_openid.py#L323
Which means it has to be fixed upstream and not in pagure.

@crameleon @bmwiedemann can you please report the issue here: https://github.com/fedora-infra/python-fedora/issues

Metadata Update from @wombelix:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

a year ago

Metadata Update from @wombelix:
- Issue status updated to: Open (was: Closed)

a year ago

Metadata Update from @wombelix:
- Issue untagged with: UI, easyfix
- Issue set to the milestone: None (was: 5.14)
- Issue tagged with: upstream

a year ago

Metadata Update from @wombelix:
- Assignee reset

a year ago

Hi,

that code refers to a configuration value. Can we set this configuration somewhere, if not in Pagure itself?

Log in to comment on this ticket.

Metadata