Sha256: 73ccaf60665131af306178e1d4b6993981274313e0e9086f52bc19407ecfd84e

Contents?: true

Size: 1.47 KB

Versions: 3

Compression:

Stored size: 1.47 KB

Contents

module ForestLiana
  MESSAGES = {
    CONFIGURATION: {
      AUTH_SECRET_MISSING: "Your Forest authSecret seems to be missing. Can you check that you properly set a Forest authSecret in the Forest initializer?",
    },
    SERVER_TRANSACTION: {
      SECRET_AND_RENDERINGID_INCONSISTENT: "Cannot retrieve the project you're trying to unlock. The envSecret and renderingId seems to be missing or inconsistent.",
      SERVER_DOWN: "Cannot retrieve the data from the Forest server. Forest API seems to be down right now.",
      SECRET_NOT_FOUND: "Cannot retrieve the data from the Forest server. Can you check that you properly copied the Forest envSecret in the Liana initializer?",
      UNEXPECTED: "Cannot retrieve the data from the Forest server. An error occured in Forest API.",
      INVALID_STATE_MISSING: "Invalid response from the authentication server: the state parameter is missing",
      INVALID_STATE_FORMAT: "Invalid response from the authentication server: the state parameter is not at the right format",
      INVALID_STATE_RENDERING_ID: "Invalid response from the authentication server: the state does not contain a renderingId",
      MISSING_RENDERING_ID: "Authentication request must contain a renderingId",
      INVALID_RENDERING_ID: "The parameter renderingId is not valid",
      REGISTRATION_FAILED: "The registration to the authentication API failed, response: ",
      OIDC_CONFIGURATION_RETRIEVAL_FAILED: "Failed to retrieve the provider's configuration.",
    }
  }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
forest_liana-6.0.0.pre.beta.4 config/initializers/error-messages.rb
forest_liana-6.0.0.pre.beta.3 config/initializers/error-messages.rb
forest_liana-6.0.0.pre.beta.2 config/initializers/error-messages.rb