Skip to content

OIDC must be available at Homebox Startup #1213

@rv10guy

Description

@rv10guy

First Check

  • This is not a feature request
  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • I can replicate the issue inside the Demo install.

Homebox Version

v0.22.3

What is the issue you are experiencing?

If the OIDC provider is not available when Homebox starts, OIDC login will fail until Homebox is restarted.

I use Pocket ID, and I learned this when I had to restart all of my services. If Homebox came up before Pocket ID I could not log in even if Pocket ID was up and running. The only way to resolve the issues was to restart Homebox once PocketID had finished it's startup.

It seems that there is some checking of the OIDC provider at startup and if that check fails it never retries.

How can the maintainer reproduce the issue?

Start Homebox with the OIDC provider unavailable. Start the OIDC provider. Try to login to Homebox.

To fix:
Restart Homebox and you will be able to log in with no change/modification to the OIDC provider.

Deployment

Docker (Linux)

Database Type

SQLite

OS Architechture

x86_64 (AMD, Intel)

Deployment Details

This is running on NixOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🕷️ bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions