Open edX Quince to Redwood upgrade and JWT signing keys

Upgrading from Quince to Redwood without locking learners out depends on checking the LMS JWT_PRIVATE_SIGNING_JWK before cutover and planning the other Redwood breaking changes. This page sets out the path, the checks and the rollback points.

On this page

Why a Quince to Redwood upgrade starts with the JWT signing key

Before anything else in a Quince to Redwood upgrade, confirm that the LMS JWT_AUTH setting JWT_PRIVATE_SIGNING_JWK contains the p, q, dp, dq and qi parameters. If they are missing, JWT signing fails after the upgrade and learners cannot sign in. The Redwood developer and operator release notes direct deployers to run scripts/jwk-precompute-params.py when those values are absent, so this is a check to run and record in the change plan, not a detail to discover during cutover. Teams should inspect the key in the environment that actually serves the LMS, including any secrets store or Tutor configuration that injects it, because a key that looks correct in a repository may not be the one running in production.

Open edX supports only the latest named release and cannot support more than one release at a time, so a Quince site cannot stay where it is while the rest of the platform moves on. The upgrade is a planned path with a fixed destination, and each step after Quince needs its own preparation, test environment and rollback decision. Plan the signing key work as the first item in that path, with a named owner, a dated test run against a copy of production data and a written result that the security and operations teams can review.

Ask your partner or internal team to confirm three things early: which Tutor version and image set the current site runs, whether the signing key was generated before the parameter requirement applied, and who holds the authority to rotate it. Rotating a signing key changes how existing tokens are validated, so the timing and communication should be agreed with the teams that depend on the LMS. Treat the key check as a gate: if the parameters are present and a sandbox login test passes, the rest of the Redwood work can proceed.

Which Redwood changes affect this upgrade

This table lists the Redwood change most likely to lock users out, followed by the checks you need before upgrading. Start with the JWT signing row, since it is the only Redwood breaking change confirmed for this topic. Use the final row to scope the rest of the Redwood developer and operator notes against your own settings, plugins and custom code.

ChangeImpactAction needed
JWT library move from pyjwkest to PyJWTThe LMS signs JWTs with the new library, which expects a complete private key in JWT_AUTHReview how JWT_PRIVATE_SIGNING_JWK is set in your LMS configuration before upgrading
Required private key parameters p, q, dp, dq and qiIf any of the five parameters is missing, JWT signing fails and users cannot log inConfirm all five parameters are present in the key used by your LMS
Precompute script scripts/jwk-precompute-params.pyUsed to add the missing parameters when the key does not contain themRun it against a copy of the key, store the output in your secrets system and record who approved it
Key value deployed to each environmentStaging and production may hold different keys, so a test that passes in one environment may not represent anotherConfirm each environment has a complete key and test sign-in in staging with the same key you plan to deploy
Sign-in after cutoverA signing failure shows up as failed logins, which affects every learner and staff memberRun a sign-in test for learner, instructor and admin accounts before opening the upgraded site
Other Redwood breaking changes and deprecationsOther items are not covered in this table and may affect your settings, plugins or custom codeRead the full Redwood developer and operator release notes and check each item against your configuration and custom code

How to check and regenerate the JWT signing key

Before the Redwood upgrade, confirm that the LMS setting JWT_AUTH with its JWT_PRIVATE_SIGNING_JWK value already contains the p, q, dp, dq and qi parameters. The move from pyjwkest to PyJWT changes what the LMS needs from the key. Redwood's developer and operator release notes state that if these parameters are missing, JWT signing fails and users cannot log in. The check is a short inspection of the value your deployment actually loads, not of the file in the repository, so read it from the running configuration or from the secret store that feeds it.

If any of the five parameters is missing, generate them from the existing key material with scripts/jwk-precompute-params.py, as the Redwood release notes direct. Write the output back to JWT_PRIVATE_SIGNING_JWK in the same format the LMS expects, and keep the key ID and key type unchanged so that tokens and any consumers that cache the public key are not disrupted. Update the value in every place the deployment reads it, including Tutor configuration overrides, environment-specific settings and any Kubernetes secrets. A mismatch between the LMS pods and the rest of the environment is a common cause of intermittent login failures that look random.

Verify the change in a non-production environment that runs the same Redwood configuration as production. Test a password login, a single sign-on login if you use one, and the token issuance path that your mobile clients, Studio and any external services call. Confirm that tokens validate against the published key set before cutover. Record the steps and outcomes, because the cutover runbook and any later audit questions will depend on that evidence. Ask your platform team to confirm the exact parameter names and script behavior against the release notes for the version you deploy.

What to prepare before touching the Redwood upgrade

Five items can run in parallel before any upgrade command is issued. Together they give you a way back if login breaks, a realistic place to rehearse the change, and a clear owner for deciding that login works after the upgrade.

Full backups of MySQL and MongoDB

Take a full backup of both the MySQL and MongoDB databases, plus the media storage that holds course assets and uploads. Open edX development requires MySQL 8.0 and MongoDB 7.x, so the backups must cover both stores, not just one. Test a restore on a separate host and confirm the restored site logs in before you rely on the backup. Record the backup time so you can match it to the data state you are restoring.

Inventory of custom code and settings

List every custom XBlock, theme, Tutor plugin, Django app plugin and settings override in use on the site. Note which items are pinned to a version and which were written against a specific release. This list tells you which items need compatibility checks against Redwood and which can be carried over unchanged. Keep the inventory in version control next to your Tutor configuration so it stays current.

Production-like staging environment

Build a staging environment from the same Tutor configuration, container images, domain layout and third-party identity settings as production, then restore a recent production backup into it. Run the Redwood upgrade there first and time each step. A staging environment that differs in identity providers or JWT settings will not show the login failures you are trying to prevent.

Named login test sign-off

Name one person who signs off that login works after the upgrade, and a second who covers for them. Agree the test cases in advance: a learner account, an instructor account, a staff account, and each third-party sign-in method in use. Include sessions that were already open before the upgrade. Write the sign-off criteria down so the decision to roll back or continue is not made under pressure during the maintenance window.

Snapshot of the current JWT configuration

Capture the current LMS JWT_AUTH settings, including the JWT_PRIVATE_SIGNING_JWK value, in a restricted location, and check whether it already contains the p, q, dp, dq and qi parameters. Store the snapshot as a secret, not in a shared document. This record lets you compare the key before and after the upgrade and restore the previous value if signing fails.

Redwood operator notes

How the Redwood upgrade runs, step by step

This sequence moves a Quince site to Redwood with the JWT signing key verified before any upgrade work starts, so login and token issuance can be checked at each stage. Each step closes with a named rollback point the team can return to if a check fails.

  1. Verify the JWT signing key parameters in staging

    Start by reading the LMS JWT_AUTH JWT_PRIVATE_SIGNING_JWK value from the staging configuration and confirm it contains the p, q, dp, dq and qi parameters. The platform team or DeployOpen engineers run this check, and the output is a recorded result for each environment. If any parameter is missing, the key must be regenerated in the next step before Redwood is installed. Rollback point RB-1: the current Quince staging and production configuration is exported and stored under version control, so the original key settings can be restored unchanged.

  2. Regenerate the signing key where parameters are missing

    Where the check fails, run the scripts/jwk-precompute-params.py script from the Redwood release source against the existing private key so the missing parameters are computed and written into JWT_PRIVATE_SIGNING_JWK. The team confirms the key is updated in the configuration source it actually uses, then restarts the LMS in staging and confirms that a test login issues a token. Rollback point RB-2: the staging configuration with the regenerated key is saved as a separate, dated artifact, and the earlier key is kept so it can be reinstated if token issuance fails.

  3. Rehearse the upgrade on a copy of production data

    Restore a recent copy of production databases, media and the MongoDB and MySQL data into an isolated environment that matches production's Tutor configuration, plugins and custom images. Run the full Redwood upgrade there, including any data migrations the release notes list, and record every error and warning. The rehearsal is complete when the upgrade finishes without manual edits and the team has a written list of changes needed for production. Rollback point RB-3: the isolated environment is preserved from the start of the rehearsal, so the team can repeat the run after fixing any issue.

  4. Confirm the rollback approach against Tutor's documentation

    Before production work begins, the platform owner reads Tutor's current upgrade documentation and confirms how a failed upgrade is reversed for the specific Tutor versions in use. Downgrades may not be supported, so the team should not assume that a previous Tutor version can be restored in place. The output is a signed rollback plan that names what is restored from backup, who approves the rollback and how the database snapshot is verified. This step is complete when the plan has been reviewed against the rehearsal results.

  5. Run the production upgrade with Tutor

    During the agreed maintenance window, take fresh backups of databases and media, then apply the Redwood upgrade with Tutor using the same images and configuration tested in the rehearsal. The engineer running the change records each command, the migration output and the image versions used. The stage is complete when all services report healthy and no migration job has failed. Rollback point RB-4: the verified pre-upgrade backup and the recorded configuration are the basis for restoration if the next checks fail.

  6. Verify login, token issuance and core flows

    Test a learner login, confirm the LMS issues JWT tokens that the micro-frontends accept, and check that a token-authenticated API call succeeds. Then walk through core learner flows such as course enrollment, opening a unit and completing a graded problem, followed by Studio flows such as logging in, opening a course outline and saving a component. The team records each result against a written checklist, and the step is done when every check passes for staff and learner test accounts. Any failure at this point triggers the rollback plan confirmed earlier.

  7. Monitor logs and sign off the upgrade

    After the checks pass, watch LMS and Studio logs and error monitoring for signs of signing or authentication failures, especially for users whose sessions were issued before the upgrade. The platform owner confirms that no authentication errors appear in the monitoring window agreed for the change, then signs off the upgrade record and archives the backups under the retention policy. The output is a closed change record that names the Redwood version deployed, the key state and the rollback points that were not used.

How the upgrade phases and checks connect

The sequence starts with an inventory of the LMS signing key and its parameters. If the JWT_PRIVATE_SIGNING_JWK lacks the p, q, dp, dq and qi values, the scripts/jwk-precompute-params.py step runs before anything else moves. The rehearsal in staging must pass the login and token checks before the production backup and upgrade. A failed check routes back to the backup point, so the team never proceeds on a key it has not verified.

Phase sequence from key inventory through checks to a rollback decision.

How to test login and plan rollback for Redwood

How do I test JWT-based login end to end before cutting over to Redwood?

Run the full login path on a staging copy of the Redwood site before production, using the same signing key configuration you plan to deploy. Confirm that the LMS JWT_AUTH JWT_PRIVATE_SIGNING_JWK contains the p, q, dp, dq and qi parameters, then sign in with a test account on the learner site and the Studio site. Check that the frontend receives a valid token, that protected API calls succeed, and that a second browser session and a fresh private window both authenticate. Repeat the test after any change to the key, since a key that is regenerated without the precompute step will fail in the same way as an incomplete one.

  • Keep the staging database close to a recent production copy so user accounts and sessions match real data.
  • Record the exact image tags and configuration files used so the test can be repeated on the production cutover.
Which user journeys should a login test script cover for Redwood?

Script the journeys a learner, instructor and administrator use on the first day after cutover, not only the homepage. A useful set includes sign-in with a password, sign-in through any configured third-party provider, password reset, enrollment in a course, opening a graded unit, submitting a problem, viewing the dashboard and certificates, and signing out and back in. For staff, add a Studio login, course outline access, and the Django admin login. Include a test for an expired or revoked session so the redirect behavior is confirmed. Keep each script short enough that a non-developer can run it during a window and record pass or fail against each step.

What should I check in logs after the Redwood cutover?

Watch the LMS and Studio application logs for JWT signing and verification errors, since a missing key parameter shows up as failed token issuance and users cannot log in. Also check for repeated authentication failures, 401 and 403 responses from the API, and errors from the frontend when it fetches tokens. Confirm that the reverse proxy is not caching authentication responses and that the session store is reachable from every web container. Compare error rates for the hour before and after cutover. Ask your team which dashboards or log queries they will use, and set the alert thresholds before the window opens.

When is rollback still possible after upgrading to Redwood?

Rollback is only realistic while the previous release's database state and images remain available and the migrations have not made the old code incompatible. Before the cutover, take a verified database backup and keep the previous Tutor configuration and image set so you can redeploy it. Confirm with the Open edX release notes and the Tutor documentation whether the Redwood migrations are reversible for your installation, because some schema and data changes are one-way. If a migration has already run and the old release cannot read the new data, the practical recovery is a restore from backup, which means losing any writes made after the backup. Write the decision point in the runbook: the last time the team can roll back without data loss.

How do I communicate a maintenance window for a Redwood upgrade?

Tell learners, instructors and administrators the start time, expected end time, what will be unavailable and what they should expect afterward. State that users may need to sign in again, because the signing key and sessions change during the upgrade, and say how they will be informed if the window is extended. Publish the notice on the platform status page, in course announcements and to instructors who run live sessions or deadlines during the window. Avoid scheduling the window during exams, certificate issuance or enrollment peaks, and confirm the exact window length with your own operations team and your hosting provider rather than assuming a standard duration.

Can my own team run the Redwood login test and rollback plan, or do we need a partner?

Your team can run these steps if it has administrative access to the Tutor configuration, the database and the deployment pipeline, and if someone can read application logs during the window. A partner is useful when the team lacks Open edX operations experience, when custom plugins or XBlocks affect authentication, or when the window is tight and no one can own the rollback decision. DeployOpen plans, implements, tests, backs up and documents self-hosted platforms in the client's own infrastructure, and most engagements are fixed-scope with the scope, deliverables and timelines agreed in writing before work starts. Ask any partner for the written test scripts, rollback criteria and handover documents included in the scope.

What drives the cost of testing and rollback planning for a Redwood upgrade?

The main cost drivers are the number of login methods to test, the number of custom plugins and XBlocks that touch authentication or sessions, the size of the staging environment you must maintain, and how many rehearsal runs the team needs before cutover. Costs are one-time for the test scripts, rehearsal and runbook, and recurring only if you keep a staging environment or retain a partner for later releases. Ask any quote to separate the testing, backup and rollback rehearsal, cutover support and post-cutover monitoring so you can see which parts your team can absorb. DeployOpen does not publish a price list, and a quote follows from the written scope.

What makes a Quince to Redwood upgrade take longer

Scope for a Quince to Redwood upgrade depends less on the release notes themselves than on what your site has built on top of Open edX. The five drivers below decide how much retesting, data work and coordination the upgrade needs, and each one is worth measuring before you ask for a quote.

Custom XBlocks and plugins to retest

Every custom XBlock, Tutor plugin and Django app plugin is code that Redwood can break without warning. Count them, list which course types and learner flows depend on each one, and note which have automated tests. Components without tests need manual test scripts, which is usually the largest single block of verification work. Ask any partner to base the quote on this inventory.

Size of MySQL and MongoDB data

Larger databases lengthen backups, migration runs and rollback rehearsals. Measure the MySQL schema and row counts for the LMS and Studio, and the MongoDB collections that hold course content and discussion data, before the upgrade is planned. Also check whether any custom scripts read or write these stores directly, since those scripts need review against the new schema.

Integrations that consume LMS tokens

Any external service that accepts JWTs issued by the LMS must keep working once the signing key changes or the signing library is swapped. Inventory every consumer, including mobile apps, commerce systems, analytics pipelines and custom services, and record how each validates tokens. Each integration you cannot test in staging adds coordination with its owner and a window in which login or API calls may fail.

Depth of theme and micro-frontend changes

Light branding changes usually rebase cleanly, while deep overrides of micro-frontend components, custom slots or patched build steps need reimplementation against the new frontend code. Record which Studio and LMS templates, SCSS overrides and MFE components you have changed, and whether those changes live in a fork or in plugins. Forked changes add rebasing work that plugin-based changes avoid.

Availability of a staging environment

A staging environment that matches production in release version, data volume and configuration is what makes rehearsal possible. Without one, the first full run of the upgrade happens on live learners. Confirm whether staging can hold a copy of production data, whether it has the same identity provider and JWT configuration, and how long it can stay in service for the full rehearsal cycle.

What does a Quince to Redwood upgrade cost and need from us?

What drives the cost of a Quince to Redwood upgrade?

The biggest cost drivers are how much customization the site carries and how many environments must be upgraded and tested. A stock Tutor site with few plugins is a smaller job than one with custom XBlocks, forked edx-platform code, a custom theme, SSO integrations and analytics pipelines. Other factors include the number of sites, whether the upgrade runs on Docker Compose or Kubernetes, the size of the database that needs migrating, and how much regression testing your course teams require before sign-off. Ask any partner to itemize these drivers in the written scope so you can see which ones they have priced.

Can our own team check the JWT signing key before upgrading?

Yes, if your engineers can read the LMS configuration and run the precompute script from the Redwood release notes. Before the upgrade, confirm that the LMS JWT_AUTH JWT_PRIVATE_SIGNING_JWK value contains the p, q, dp, dq and qi parameters. If any are missing, run scripts/jwk-precompute-params.py, update the setting, and test a login in a staging environment. Skipping this check causes JWT signing to fail after the upgrade, so users cannot log in. Teams without a staging copy of production settings should treat this as the first item to verify.

What does the work need from our staff?

Expect to supply people who know your site's configuration and business rules, and who can make decisions quickly. Typically this includes an engineer with access to the Tutor configuration, the environment files and secrets, a platform owner who signs off on test results, and course-team representatives who check that courses, enrollments and certificates still work. Your team also needs staging infrastructure that resembles production and access to your identity provider and any integrated services. Ask the partner which of these roles they expect you to fill and how many hours they assume each role will spend.

How long does a Quince to Redwood upgrade usually take?

Duration depends on the same factors as cost: customization, the number of environments, data volume and how thorough the testing must be. A site with a stock configuration and a staging copy will move faster than a site with custom code and several integrations. Your schedule also depends on the change windows you can accept and on how long your course teams need to test. Ask for a timeline with milestones for the JWT check, staging upgrade, testing, production cutover and rollback decision, and confirm which of those dates depend on your staff.

Is Redwood the right next step if only the latest release is supported?

Open edX states that the latest named release is the only supported release, so a site on Quince is already outside support and will need to move beyond Redwood to stay supported. Redwood is therefore best treated as a stepping stone when your current platform is far behind the latest release. Before committing, check the Open edX release notes for the current supported release and the planned upgrade path from Redwood. Plan the sequence of releases now, so you do not spend effort on an upgrade that you will need to repeat soon after.

What should we ask for in a written scope and quote?

Ask for a written scope that lists the systems in scope, the Tutor and Open edX versions on each side of the upgrade, the custom components to be tested, the environments included, and the deliverables. Request the assumptions behind the effort, the staff you must provide, the testing approach and acceptance criteria, the rollback plan, and what happens if the team finds issues that were not visible at scoping. Also ask which items recur after go-live, such as support or retainer hours, and which are one-time. DeployOpen provides quotes only after the written scope is agreed.

Why Redwood is a step on the path to the supported release

Open edX supports only its latest named release, so a site still on Quince needs a planned route to the current release rather than a one-off jump to Redwood. The latest named release is Verawood, published on 30 July 2026, and Open edX states that it cannot support more than one release at a time. Redwood is therefore best understood as an intermediate stop: the JWT signing work and the other Redwood breaking changes have to be finished correctly now, because every later step assumes a site that logs users in without errors. Treat the Redwood move as a stage in a sequence, with its own verification and rollback point, not as the end of the project.

Whether to stop at Redwood or continue to a later release is a decision for your own roadmap, not something this page can settle for you. Confirm with your platform owner how long the site must stay on Redwood, which named releases your team can test and support, and whether your custom XBlocks, Tutor plugins and MFE changes can follow each step at the same pace. Ask whether the Open edX release notes or your Tutor version are the basis for the plan, and record the target release and the sequence of stops in writing before work starts. A clear target avoids building JWT configuration or custom images that you will rebuild again within a few releases.

Several sibling pages cover the steps around this one. The Open edX Redwood developer and operator release notes are the primary reference for Redwood-specific changes, and the Redwood to Sumac, Sumac to Teak, Teak to Ulmo and Ulmo to Verawood pages describe the later stages. If your site is already behind the supported release, the page on upgrading an unsupported Open edX release explains how to step forward through Tutor major versions. Read the sibling pages before you fix the target sequence, so that the Redwood changes you make today do not conflict with what the next stage requires.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.