Skip to content

[BUG] OAUTH_AUTO_REDIRECT works with forward auth but not from OIDC clients #1024

Description

@arthur-lai

Describe the Bug

I noticed that I am no longer being automatically redirected to my OAUTH provider when arriving to Tinyauth through any services' normal OIDC flow, but NGINX auth_request triggers it successfully.

How to Reproduce

  1. Set OAUTH_AUTO_REDIRECT=pocketid
  2. Go to any app with OIDC integration after configuring it to use Tinyauth
  3. Click on 'Log in with Open ID'
  4. Tinyauth loads, but does not autoredirect to Pocket ID so I need to click the button manually

Expected Behavior

Show the "Oauth Auto Redirect" message and forward the user to Pocket ID

Additional Context

No response

Logs

No response

Operating System

Debian

Browser

Firefox and Chrome

Tinyauth Version

5.1.0

Docker Version (if applicable)

29.6.2

Human Written Confirmation

  • I confirm this issue was written by me and not generated by an LLM or AI assistant.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions