TimothyJones/github-openid-wrapper

View on GitHub
src/github.js

Summary

Maintainability
A
1 hr
Test Coverage
A
95%

Function exports has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = (apiBaseUrl, loginBaseUrl) => {
  const urls = getApiEndpoints(apiBaseUrl, loginBaseUrl || apiBaseUrl);
  return {
    getAuthorizeUrl: (client_id, scope, state, response_type) =>
      `${urls.oauthAuthorize}?client_id=${client_id}&scope=${encodeURIComponent(
Severity: Minor
Found in src/github.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status