When oauth_servers is updated via REST API, the changes are saved (if using mongo provider), but are not immediately loaded, requiring a server restart, or API Definition change to trigger configuration reload. It should be immediately reloaded when it is updated.
Reproduction Steps:
Create/Update/Delete an oauth server via REST API
Expected behavior:
Changes are immediately effective.
Observed behavior:
Database is updated, but janus does not reload the updated configuration.
Janus version: 3.8.6
Workaround
Sending any API Definition update will reload OAuth Server configurations as well.
When
oauth_servers
is updated via REST API, the changes are saved (if using mongo provider), but are not immediately loaded, requiring a server restart, or API Definition change to trigger configuration reload. It should be immediately reloaded when it is updated.Reproduction Steps:
Expected behavior: Changes are immediately effective.
Observed behavior: Database is updated, but janus does not reload the updated configuration.
Janus version: 3.8.6
Workaround Sending any API Definition update will reload OAuth Server configurations as well.