Skip to content

[Bug]: Authentication endpoints still added to api docs when arkosConfig.authentication.enabled = false #118

@Uanela

Description

@Uanela

Bug Description

Authentication endpoints still added to api docs when arkosConfig.authentication.enabled = false

Expected Behavior

Auth endpoints should not be at openapi docs

Steps to Reproduce

  1. setup arkosConfig.authentication.enabled = false
  2. check /api/docs and notice that auth endpoints are still there

Arkos configuration

Possible Workaround

I can just ignore

Package

arkos

Arkos.js Version (or Package version)

1.4.0-beta

Node.js Version

22.x

Database

PostgreSQL

Operating System

macOS

Pre-submission Checklist

  • I have searched existing issues to ensure this bug hasn't been reported
  • I have tested this on the latest beta version
  • I can reproduce this bug consistently

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions