question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tenant error page configuration is skipped during import

See original GitHub issue

Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.

Thank you in advance for helping us to improve this library! Please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.

By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.

Description

Tenants allow the setting of a customer error page URL, which gets exported as pages/error_page.json. However when importing tenant configuration, this configuration is skipped because there is no corresponding HTML file. This means the setting/updating of this URL is not able to be propagated between tenants.

Reproduction

  1. Create a new tenant
  2. Set the tenant Error Page to “Custom” with a “Custom error page URL”
  3. Export the tenant config using a0deploy
  4. In the tenant UI change the value of the error page URL.
  5. Import the tenant config with a0deploy
  6. The error page JSON will be skipped (see https://github.com/auth0/auth0-deploy-cli/blob/master/src/context/directory/handlers/pages.js#L29) and the value in the tenant settings will be unchanged.

Environment

  • Version of this library used: 5.3.1
  • Version of the platform or framework used, if applicable: n/a
  • Other relevant versions (language, server software, OS, browser): n/a
  • Other modules/plugins/libraries that might be involved: n/a

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
justinelileikiscommented, Feb 9, 2022

@willvedd yes that is correct. I was trying to set a custom URL, and was getting this error when trying to export to auth0: 2022-02-07T17:57:06.371Z - warn: Skipping pages file src/av-dashboard/pages/error_page.json as missing corresponding '.html' file

I ended up adding a blank HTML file (./error_page.html) to get around this.

error_page.json :

{
  "url": "##VUE_APP_BASE_URL##/auth-error",
  "html": "./error_page.html", 
  "name": "error_page"
}

1reaction
willveddcommented, Feb 9, 2022

@justinelileikis Ah ok, so the configuration is a simple URL, but the Deploy CLI rejects it because it doesn’t have an HTML template. That’s certainly a bug that we’d want to investigate but glad you’ve found a workaround.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Users are not being provisioned in my application
The user is “not effectively entitled”. If you see this specific error message, it is because there is a problem with the user...
Read more >
Import a JSS app into your headless site
Because with headless site creation, the default configuration settings are added in items ( Site/Settings/ ), this means that you can skip ...
Read more >
Resolve a skipped update and set a resolution status
To prevent your customizations from being overwritten during system upgrades, the upgrade process skips (does not apply the update to) ...
Read more >
Resolving Import Issues - Ex Libris Knowledge Center
The Resolve Import Errors page lists the import jobs with unexpected errors that occurred during the import process. These errors include any ...
Read more >
Microsoft Teams Migration FAQs - BitTitan Help Center
Is it possible to migrate Teams private chat for a specific duration? Yes, use the date filter in the Advanced Options configuration page....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found