tidepool-org / uploader

An Electron app for uploading diabetes device data to Tidepool's backend
BSD 2-Clause "Simplified" License
118 stars 85 forks source link

[UPLOAD-1224] replace `react-keycloak` with `react-oidc-context` #1632

Closed krystophv closed 4 months ago

krystophv commented 5 months ago

For UPLOAD-1224, pretty much what it says on the tin. react-keycloak is a dead/archived project at this point, so replacing it is the prudent thing to do. Was hoping that the diff would pick up keycloak.js->auth.js as a rename, but I guess it was different enough that it treats it as a separate file. Some pieces of it got much simpler, some more complex. It still relies on keycloak.js for some specifics like generating the registration URL and logout URL (which is more relevant on blip, but for the sake of parity is also included here).

gniezen commented 4 months ago

@krystophv We can merge this into the UiW branch, right?

krystophv commented 4 months ago

@gniezen Yeah, will merge now.