mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #97] OIDC fails with error 502 after callback #50
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#50
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?
Originally created by @AdriSchmi on GitHub (Sep 24, 2025).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/97
Originally assigned to: @glenndehaan on GitHub.
The problem
Open ID Login shows 502 Bad Gateway after receiving the callback
What version of UniFi Voucher Site has the issue?
8.2.0
What was the last working version of UniFi Voucher Site?
No response
What type of installation are you running?
Docker
Anything in the logs that might be useful for us?
Additional information
No response
@glenndehaan commented on GitHub (Sep 24, 2025):
Hi @AdriSchmi ,
A 502 would indicate that the service crashes. Or a proxy is not able to reach the service.
Unfortunately I would need a lot more info and logs to be able to assist with this issue.
But I have a feeling this is a configuration error.
Kind regards,
Glenn
@bogosavljevic commented on GitHub (Sep 27, 2025):
Hi @AdriSchmi,
I experienced a similar issue and, since I’m using NGINX Proxy Manager, I was able to resolve it by adding the following custom NGINX configuration:
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_buffers 8 16k;
proxy_buffer_size 32k;
client_max_body_size 10m;
Kind regards,
Dimitrije
@glenndehaan commented on GitHub (Sep 29, 2025):
Thank you @bogosavljevic for the suggestion (Might be useful for others in the future). @AdriSchmi Since there was no update I will close this issue for now. If you have more info feel free to post it
@AdriSchmi commented on GitHub (Oct 1, 2025):
Sorry i was busy. I can confirm with the settings in Nginx Proxy Manager it works
@glenndehaan commented on GitHub (Oct 1, 2025):
Awesome great to hear!