ForestAdmin/forest-express

View on GitHub
src/services/oidc-client-manager.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Function getClientForCallbackUrl has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  async getClientForCallbackUrl(callbackUrl) {
    if (!this.cache.has(callbackUrl)) {
      const configuration = await this.oidcConfigurationRetrieverService.retrieve();
      const issuer = new this.openIdClient.Issuer(configuration);
      const clientId = this.configStore.lianaOptions.clientId
Severity: Minor
Found in src/services/oidc-client-manager.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status