Skip to content

[Bug] OIDC provider must be publicly available #264

Description

@fdw

What went wrong?

I wanted to set up an OIDC provider, but it is resolved to a LAN IP (by design). For some reason, BookOrbit checks that the resolved IP is not private or local, and fails - without a good error message - otherwise. I see no reason to prohibit local IP addresses.

Steps to reproduce

  1. Have an OIDC provider with a LAN-local IP.
  2. Try to set it up in BookOrbit.
  3. Get an error Connection failed. In the dev tools, you can see that the actual error is URL host is not allowed.

Expected vs actual behavior

I expect it to use the OIDC provider, as it exists and is reachable.

Your setup

  • BookOrbit tag: latest
  • Deployed with Podman

Relevant logs (optional)

Nothing helpful in the log.

Screenshots (optional)

No response

Before submitting

  • I've searched existing issues and this hasn't been reported yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleasedIssue or PR is included in a released version.status:needs-triageNew issue awaiting initial triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions