Skip to content

Conversation

@MikeNeilson
Copy link
Collaborator

@MikeNeilson MikeNeilson commented Oct 26, 2025

Problem Description

Partial? opendcs/opendcs#1591.
Depends on #582, will get back to this after that.

Solution

1 (todo) use openapi security schemes to build login form

  1. change user graphic to icon for consistency
    2 remove http basic
    3 mimic (in swagger) username/password with oauth2 ropc flow

how you tested the change

Describe what was done to test the change. This section can be left blank
if automated tests demonstrating usage are provided in the PR.

Where the following done:

  • Tests. Check all that apply:
    • Unit tests created or modified that run during ant test.
    • Integration tests created or modified that run during integration testing
      (Formerly called regression tests.)
    • Test procedure descriptions for manual testing
  • Was relevant documentation updated?
  • Were relevant config element (e.g. XML data) updated as appropriate

If you aren't sure leave unchecked and we will help guide you to want needs changing where.

@MikeNeilson MikeNeilson force-pushed the feature/549-login-form-initial branch from ec610be to 344f435 Compare November 10, 2025 03:34
@sonarqubecloud
Copy link

adamkorynta added a commit that referenced this pull request Nov 25, 2025
added to the existing username/password login though it'll just get replaced by #574 once this is done, will update to allow setting the organizationid header
need to add to the settings options a place where we can change the office id without having to logout
also need to populate swagger with a default organization header
adamkorynta added a commit that referenced this pull request Dec 10, 2025
* parameterize orgainzation (office) id from the client to the REST API

added to the existing username/password login though it'll just get replaced by #574 once this is done, will update to allow setting the organizationid header
need to add to the settings options a place where we can change the office id without having to logout
also need to populate swagger with a default organization header

* allow the client to choose an organization id in the login prompt
* add organization selector to allow clients to change organizations without having to logout
* cleanup order of operations so that excessive invalid requests aren't made when user is not logged in
* fix jstl references for jakarta update
* remove loginTest as it isn't hooked into integration test system
* add org header to swagger page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants