cannot log in into STAGE forgejo #13392
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
7 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#13392
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of request
Hi, I cannt log in into forge into stage env,
'sign in' > 'sign in with fedora account' > "log in with openshift" (this I havent noticed last week) > name+password (the same one works fine with https://stg.fedoraproject.org/wiki/QA/ ) >
403 Permission Denied
Invalid Account
I tried ff or chrome
I just tried it out and logged in without issue with my staging account.
I wonder if you just didn't hit some bad ipsilon mood. Could you try it with kerberos ticket?
it seems that kerberos is not supported with stage:
KRB5_TRACE=/dev/stderr curl -v --negotiate -u : https://forge.stg.fedoraproject.org/oauth/sign_in
I was trying both ff or chrome:
google-chrome --user-data-dir=$(mktemp -d) --auth-server-whitelist="*.stg.fedoraproject.org" https://forge.stg.fedoraproject.org/oauth/sign_in
I just tried it with Brave (
--auth-server-allowlist=.fedoraproject.org) on https://forge.stg.fedoraproject.org/oauth/sign_in and it worked for my kerberos ticket generated byfkinit -u zlopez.I tried the
curlcommand as well, but got the same error. So that is probably expected to not work.I assume there is something wrong with your staging account. What did you get when trying it with Kerberos ticket on ff and chrome?
Is this now working for you? I think it was a auth issue with staging forge...
Hey @psklenar, it's working for me. Can you please clean the cache and try again? There might be a bug because it should bypass all requests except requests for secured endpoints.
Hi,
its still the same. I cleared ff history && fkinit -u psklenar
ff with setting in 'about:config':
network.negotiate-auth.trusted-uris .redhat.com,.fedoraproject.org
the same with brave:
I'm seeing this:

I'm logging in through standard web-form user+password field. (Kerberos login in Firefox works for production, but I never bothered to enable it for staging, so that shouldn't be a factor).
I cleared all FF cookies for that host, no change.
To https://accounts.stg.fedoraproject.org I can log in just fine.
I am getting 403 on webform login as well.
This was an infrastructure issue on staging Forgejo, not your account. A recent change put an OpenShift authentication proxy in front of the site for metrics endpoint protection. it incorrectly intercepted the Fedora Account login flow. I'll let you know when it's fixed. Thanks for sharing the info.
We"ve added a fix in place and believe its now resolved, can you please retest to make sure its working now?
It works for me now, thanks
Its working, hura. If you experience any issues, please reopen the ticket