Skip to content

Common auth api#6

Open
davidpcls wants to merge 17 commits into
mainfrom
common_auth_api
Open

Common auth api#6
davidpcls wants to merge 17 commits into
mainfrom
common_auth_api

Conversation

@davidpcls

Copy link
Copy Markdown
Owner

Description

Motivation and Context

Summary of Changes for Release Notes

Fixed

Added

Changed

Removed

How Has This Been Tested?

davidpcls and others added 17 commits February 4, 2026 10:33
This is working okay, although it doens't really work smoothly for the
API based login and the http command based login isn't great, as it
requires the user to copy and past token around. Compared to ldap
which just logs the user in.

So still some work to do here to smooth out the user experience.
This solves the problem that what was implemented was actually
authenticating the application and not the user like expected. It worked
but it required that the user input a code. This solves that problem so
that when you click the login link, if you are already logged in with
you SSO provider you'll just automatically log in to the HTTP Server.
Likewise if you use the bluesky queueserver api, when you call RM.Login
you'll automatically be logged in, no user interaction required.
These should correct some of the problems in the last CI workflow.

I moved the LDAP and docker image into the continuous_integration folder
so it matches tiled.
This addresses documentation problems, the levels were incorrect as I
did not understand what the next level should have been in the docs.

I've also updated the usage documentation a little to be more useful.
These allow for running the unit tests in a containerized system just
like how they are done in the ci pipeline, but locally and in a way that
can maximize processor usage and minimize runtime.
This is a set of test changes intended to improve the reliability of unit testing, as the current unit tests are randomly failing due to test design. Primarily this appears to be centered around LDAP. So this work was to:

* Fix for ldap errors
* Hardening unit tests so they fail less frequency
* Try to handle console output more reliably
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