Skip to content

Comments

Adding OIDC logins to api#3

Open
davidpcls wants to merge 16 commits intomainfrom
adding_oidc_logins_to_api
Open

Adding OIDC logins to api#3
davidpcls wants to merge 16 commits intomainfrom
adding_oidc_logins_to_api

Conversation

@davidpcls
Copy link
Owner

Description

This implements support for external logins, primarily OIDC based in a way that is transparent to other methods of using the API. It includes new unit tests, documentation, and some scripts to reduce local test times as much as possible.

Motivation and Context

This is a part of the work to implement OIDC auth flows into the httpserver, providing the api side of that change.

Summary of Changes for Release Notes

Fixed

Added

  • Added support for OIDC auth flows
  • Added support for spawning authentication requests to local web browser

Changed

Removed

How Has This Been Tested?

This was tested against the http server application.

This is working with the changes to the HTTP server, but has not been
refined at all.
Signed-off-by: David Pastl <david.pastl@lightsource.ca>
Breaking out existing unit tests into separate files for readability.
Added OIDC unit tests.
The workflow had names, but for some reason on github each workflow
didn't follow that name. Thsi attempts to fix that and make it easier to
see what each workflow did.
This dramatically speeds up unit tests, from around 1.5h to 10 minutes
by running multiple docker containers in parallel as workers. This is
almost certainly not the most optimzied way of doing this, but I found
it useful to reduce test times.
Updated the docs to include instructions on how to build this project
locally, along with how to use the new parallel run tool I added.

Added / updated the parallel CI run tool. This was dropping the unit
test run times from hours to around 9 minutes for unit tests on a
single python version, or around 30 minutes when testing all possible
python versions.

Added a fix for a failing unit test
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.

1 participant