-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: OIDC DB Auth
-
None
-
5
Instead of calling plugin.mongoClientOptions.authMechanismProperties.REQUEST_TOKEN_CALLBACK and plugin.mongoClientOptions.authMechanismProperties.REFRESH_TOKEN_CALLBACK we should be able to directly call requestToken and refreshToken. When calling token refresh it should not try to request token and throw if refresh failed for any reason