arkhn / fhir-river

Live ETL pipeline to standardize Health Data into FHIR.
Apache License 2.0
42 stars 4 forks source link

fix(river-api): revoke user token before logout #677

Closed simonvadee closed 2 years ago

simonvadee commented 2 years ago

Fixes

Fixes #561

Description

We need to call the oprovider/o/revoke_token route to invalidate the access token and then remove the user from the oprovider session by redirecting the browser to /oprovider/admin/logout/.

Definition of Done

Tests

Tested on dev. Too hard to e2e test (sorry).