github sctg-development/sctgdesk-server sctg-v1.1.16-sctg.11
fixes login page when no OAuth2 provider is configured

33 minutes ago

SCTGDesk server 1.1.16-sctg.11

This release fixes the login page when no OAuth2 provider is configured.

Fixes

  • GET /api/login-options now returns an empty list instead of a 401 error when no OAuth2 provider is configured, so the client can display the password login page.
  • Follow-up of 1.1.16-sctg.10, which fixed the panic on an empty oauth2.toml.
  • Fixes issue #105.

Tests

  • End-to-end tests of GET /api/login-options: comment-only, empty, provider = [], malformed and missing files, configured provider, empty answer not cached, repeated calls.
  • More tests of the OAuth2 configuration loading: missing file, unwritable path, unreadable file, non-UTF-8 content, wrong field type.

Don't miss a new sctgdesk-server release

NewReleases is sending notifications on new releases.