Atlassian Connect Ends January 31: Running a Forge Remote Backend on Localhost
Atlassian Connect support ends January 31, 2027. Run a Forge Remote backend on localhost with a stable subdomain and verify the Forge Invocation Token.

Quick answer
Atlassian Connect Ends Jan 31: Forge Remote on Localhost: localhost tunnel answer
A localhost tunnel gives your local app a public HTTPS URL without opening router ports, which is useful for demos, QA, mobile testing, and provider callbacks.
How do I expose localhost without opening ports?
Use a reverse HTTPS tunnel. Your machine connects outbound to the tunnel service, and the public URL forwards requests back to your local app.
When should I use a localhost tunnel?
Use one for webhook testing, OAuth callbacks, client demos, QA previews, mobile device checks, and short-lived development reviews.
Atlassian has moved the Connect end of support date from December 2026 to January 31, 2027. The extension was announced on August 3, 2026 to give partners and developers more time to plan around the holidays and annual planning. As of December 5, that leaves 57 days.
If your Connect app has a real backend, you don’t have to rewrite it as Forge functions to move. Forge Remote lets a Forge app call your own HTTPS service. The awkward part is development: Forge runs in Atlassian’s cloud, and your server runs on localhost.
This guide covers the local loop: a stable public URL, the manifest, Forge Invocation Token (FIT) verification, and the traps that appear mid-migration.
What happens on January 31, 2027
“Connect ends” means end of support. Atlassian has not announced that every Connect app switches off that day. According to Atlassian’s readiness post, after that date:
- Only critical security vulnerabilities will be addressed.
- Support SLAs will be relaxed.
- Connect will stop evolving with the platform.
- Capabilities can be deprecated and removed with much less notice.
- Breakages will become more frequent, and some apps will stop functioning without advance notice.
Several earlier milestones have already passed. Marketplace stopped accepting new Connect apps in September 2025, and since March 2026, apps with a Connect descriptor can no longer receive updates. The post covers Jira and Confluence; Bitbucket has its own guidance.
There is also a nearer date. On November 30, Atlassian began previewing in-product end-of-support messages on Developer Canary sites and said production rollout would start a week later. The rollout is gradual and continues through December. It targets apps with Connect modules that have declared a migration intent of NO or UNDECIDED, or declared nothing at all. Your customers may see a warning inside your app well before January.
Atlassian says it will share more about what happens to Connect beyond the support date, so check for updates before you make customer-facing promises.
Where Forge Remote fits in a Connect migration
The migration generally runs in three steps.
1. Convert the descriptor. Atlassian’s tool turns atlassian-connect.json into a Forge manifest.yml. Your existing modules move into a connectModules section:
npx @atlassian/connect-to-forge@latest convert \
--type jira \
--url https://example.com/atlassian-connect.json
Use --type confluence for Confluence, and point --url at your production descriptor.
2. Publish a migration plan. Add the connectToForgeMigration module:
modules:
connectToForgeMigration:
- key: migration-declaration
migrationGuideUrl: https://example.com/forge-migration-plan
willMigrateToForgeBeforeEOS: UNDECIDED
The accepted values are YES, NO and UNDECIDED. With YES, in-product messages don’t appear before January 31, although a notice still shows on the Connected Apps admin page. Declare YES only if you mean it.
3. Replace modules incrementally. Swap Connect modules for Forge modules one family at a time.
Forge Remote is useful when your app has a complex backend, external services or specialised infrastructure. Atlassian describes it as a practical first step or a long-term architecture.
It has trade-offs. Runs on Atlassian requires apps to use Atlassian-hosted compute and storage exclusively and restricts data egress, so plan on a remote-backed app not qualifying. Data residency pinning is still possible, but depends on what your backend stores and how you declare it. You also take on more responsibility for authenticating requests and handling customer data.
Why localhost doesn’t work as a remote
A remote is declared by its baseUrl, and Forge sends requests to it from Atlassian’s platform. http://localhost:3000 on your laptop is unreachable from there. One developer who tried it reported a content security and egress error at deploy time.
forge tunnel does not solve this by itself. It runs your Forge app code locally, using Cloudflare to route requests to your machine. A separate remote service still needs its own public HTTPS address.
| What you’re developing | How Atlassian reaches it |
|---|---|
| Forge functions and UI resources | forge tunnel |
| Your remote backend | A public HTTPS tunnel to your local port |
If your app has no Forge functions and your UI is already built and deployed, you may only need the second.
Step 1: Get a stable HTTPS subdomain
Random tunnel URLs are a poor fit for Forge. The remote’s address lives in the manifest, and changing an existing remote’s baseUrl triggers a major version upgrade on deploy. A URL that changes on every restart means redeploying and upgrading the installation again and again.
Choose one name and keep using it. With InstaTunnel, for example:
npm install -g instatunnel
instatunnel auth login -e you@example.com
instatunnel auth set-key "it_your_api_key"
instatunnel 3000 --subdomain acme-forge-dev
That serves your local port 3000 at https://acme-forge-dev.instatunnel.my. The name is a placeholder, so pick your own.
At the time of writing, the free plan includes a custom subdomain, 24-hour sessions, three simultaneous tunnels, 2 GB of data a month and 2,000 requests a day. Request logs are a Pro feature. When a free session ends, restart with the same --subdomain so your manifest stays valid. Any tunnel that gives you a stable HTTPS hostname will work with the rest of this guide.
Give each developer a separate subdomain and a separate Forge development environment. The URL is part of the deployed manifest, so two people deploying to one shared environment will keep repointing it at each other’s laptops.
Step 2: Point the manifest at the tunnel
Don’t hardcode a personal tunnel URL in a file your team shares. Forge supports manifest variables with defaults.
This fragment connects a Jira issue panel and an issue-created event to one remote. Merge it into your existing manifest:
environment:
variables:
- key: REMOTE_BASE_URL
default: https://api.example.com
modules:
jira:issuePanel:
- key: acme-panel
title: Acme
resource: main
resolver:
endpoint: panel-endpoint
trigger:
- key: issue-created
events:
- avi:jira:created:issue
endpoint: event-endpoint
endpoint:
- key: panel-endpoint
remote: backend
- key: event-endpoint
remote: backend
route:
path: /events/issue-created
resources:
- key: main
path: static/panel/build
remotes:
- key: backend
baseUrl: ${REMOTE_BASE_URL}
operations:
- compute
permissions:
scopes:
- read:jira-work
The chain is module, then endpoint, then remote. UI calls choose their path in frontend code, while triggers use the endpoint’s route.path.
Deploy to your development environment (swap in your own environment name if you created one):
export REMOTE_BASE_URL=https://acme-forge-dev.instatunnel.my
forge deploy -e development
forge install -e development
If the app is already installed on the site, run forge install --upgrade -e development instead.
Four details matter here:
- Manifest variables are resolved by the CLI. Your app code can’t read them at runtime, and
forge variables setwon’t fill them. - Check your shell before deploying. Exported values override defaults, so a leftover
REMOTE_BASE_URLcan point a production deploy at your laptop. Set it explicitly in CI. - Declare data handling honestly.
computemeans data is processed but not stored. If your backend stores it, add thestorageoperation and setstorage.inScopeEUDaccordingly. If you omitoperationsentirely, Forge assumes you store end-user data remotely. - Keep the CLI current. Forge CLI 13.3.0 rejected variables in
baseUrlwhen it shipped in August 2026; Atlassian has since mitigated that. Don’t pin an old release to dodge problems: versions 13.2.0 and earlier stop working on February 3, 2027.
In the panel, call the remote with invokeRemote:
import { invokeRemote } from '@forge/bridge';
const res = await invokeRemote({ path: '/panel-data', method: 'GET' });
console.log(res.body);
If your backend needs to call Atlassian APIs, enable the tokens on the endpoint:
modules:
endpoint:
- key: panel-endpoint
remote: backend
auth:
appSystemToken:
enabled: true
appUserToken:
enabled: true
permissions:
scopes:
- read:jira-work
- read:app-system-token
- read:app-user-token
Enable only what you use. For frontend and trigger calls, auth set on the remote itself does not apply. Tokens arrive in the x-forge-oauth-system and x-forge-oauth-user headers. Treat them as opaque, and send API requests to the app.apiBaseUrl found in the FIT.
Step 3: Verify the Forge Invocation Token
Your tunnel URL is public. Anyone who finds it can send it a request, so verification belongs in your first commit, not your pre-launch checklist.
Forge sends the FIT as a bearer token:
Authorization: Bearer <forge-invocation-token>
It is a signed JWT. Atlassian’s requirements come down to this:
- Verify the signature against Atlassian’s JWKS.
- Require the audience to be your app ID.
- Check that the
app.idclaim matches an app ID from a trusted source, such as the developer console, not a value taken from the token itself.
Atlassian’s sample code also requires the issuer forge/invocation-token.
Here is a small Express server using the jose library. Install the dependencies with npm install express jose and save this as server.mjs:
import express from 'express';
import { createRemoteJWKSet, jwtVerify } from 'jose';
import { pathToFileURL } from 'node:url';
const JWKS_URL =
'https://forge.cdn.prod.atlassian-dev.net/.well-known/jwks.json';
export function createApp({ appId, jwks, allowedEnv }) {
if (!appId) throw new Error('FORGE_APP_ID is required');
const app = express();
async function requireFit(req, res, next) {
const [scheme, token] = (req.headers.authorization ?? '').split(' ');
if (scheme !== 'Bearer' || !token) return res.sendStatus(401);
try {
const { payload } = await jwtVerify(token, jwks, {
issuer: 'forge/invocation-token',
audience: appId,
requiredClaims: ['exp'],
});
if (payload.app?.id !== appId) return res.sendStatus(401);
if (allowedEnv && payload.app?.environment?.type !== allowedEnv) {
return res.status(403).json({ error: 'wrong environment' });
}
req.fit = payload;
next();
} catch (err) {
console.warn('FIT rejected:', err.code ?? err.message);
res.sendStatus(401);
}
}
// Order matters: authenticate first, parse the body second
const forge = [requireFit, express.json({ limit: '1mb' })];
app.get('/panel-data', forge, (req, res) => {
res.json({ installation: req.fit.app.installationId });
});
app.post('/events/issue-created', forge, (req, res) => {
// Demo only: persist the event to a durable queue before replying
res.status(202).json({ accepted: true });
});
return app;
}
if (import.meta.url === pathToFileURL(process.argv[1]).href) {
createApp({
appId: process.env.FORGE_APP_ID,
jwks: createRemoteJWKSet(new URL(JWKS_URL)),
allowedEnv: process.env.ALLOWED_FORGE_ENV,
}).listen(3000, () => console.log('Listening on :3000'));
}
Run it with your full app ID, which is the app.id value in manifest.yml:
FORGE_APP_ID="ari:cloud:ecosystem::app/<your-uuid>" \
ALLOWED_FORGE_ENV=DEVELOPMENT \
node server.mjs
Each Forge route lists the forge middleware explicitly, so add it to every new one. The ALLOWED_FORGE_ENV check is an extra safeguard: if a staging or production installation is ever pointed at your laptop by mistake, the server refuses it.
Test the negative case first:
curl -i https://acme-forge-dev.instatunnel.my/panel-data
You should get 401. Then open the panel on your development site and confirm that your server logs no rejection and the call returns data.
Isolated Cloud: if the token carries an icLabel claim, it must be verified against a different JWKS URL. Atlassian requires validating the label against ^[a-z0-9_-]{1,50}$ before building that URL. The sample above covers commercial cloud only.
Step 4: Respect the remote contract
Several contract rules explain bugs that look like tunnel problems:
| Behaviour | UI module calls | Events and scheduled triggers |
|---|---|---|
| Methods | GET, POST, PUT, PATCH, DELETE | POST |
| Timeout | 25 seconds | 5 seconds |
| Retries | None | 4 |
- Redirects are errors. Any
3xxcounts as failure, so watch for trailing-slash redirects and framework HTTPS redirects that misread the proxy. - Shape your errors. For
invokeRemote, non-2xxresponses other than401must include a body, and anyContent-Typethey set must beapplication/json. Keep401for FIT validation failures. - Acknowledge events fast. The five-second budget includes the trip through your tunnel. A paused breakpoint in your handler will blow through it.
- Expect redelivery. A non-
2xxresponse or timeout on an event delivery is retried after 60 seconds by default. The request body carries aretryContextwith the retry count and reason. - Make handlers idempotent. A request that timed out may still have finished its work on your side.
- Don’t treat retries as a queue. They are limited, so don’t count on events waiting while your laptop is asleep.
The sample’s 202 is only safe for demonstration. In production, write the event to a durable queue before acknowledging it, or a crash can lose it.
Also keep password or Basic Auth gates off this tunnel. Forge already uses the Authorization header for the FIT and has no way to answer your tunnel’s login prompt. The FIT check is your access control.
The mid-migration trap: two kinds of token
During an incremental migration, one backend may serve both Forge modules and remaining connectModules. They don’t authenticate the same way:
- Forge Remote calls send
Authorization: Bearer <FIT>. - Connect module calls still use Connect JWT, normally sent as
Authorization: JWT <token>. Thejwtquery parameter is deprecated.
Don’t feed one into the other’s validator, and don’t disable authentication to get past a 401. Keep two strict verifiers: your existing Connect middleware on Connect routes, and the FIT middleware on Forge routes.
Check these as well:
- The Connect remote. A manifest with
connectModulesmust setapp.connect.remoteto the remote that holds your ConnectbaseUrl. If that is the remote you point at your tunnel, Connect module traffic moves with it. - App keys.
app.connect.keyisn’t environment-specific by itself, but you can bind it to a manifest variable. In production it must match your existing Connect key, and it can’t be changed after the first production deploy. - Stored tenant data. Connect apps usually key data by
clientKey; Forge usesinstallationId, which survives upgrades but changes on reinstall. Atlassian offers two ways to retrieve theclientKeyso you can map them, and says it will not be available after end of support. - Behaviour differences. Forge modules require explicit opt-in for unlicensed and anonymous users, and Forge issue panels don’t support
contentPresentConditions.
Troubleshooting checklist
Nothing reaches your server. Confirm the tunnel and local server are running. Check that you deployed with REMOTE_BASE_URL set and that the site’s installation has been upgraded.
Every request returns 401. Check that FORGE_APP_ID is the full ARI, not a bare UUID. Read the server’s FIT rejected line, check your system clock and confirm your machine can reach the JWKS URL.
A replayed request fails. FITs expire, and the example token in Atlassian’s docs is valid for only 25 seconds. Trigger a fresh invocation instead of resending a captured one.
Events arrive repeatedly. Your handler is probably slow or returning a non-2xx status.
OAuth headers are missing. Enable the tokens on the endpoint and add the scopes. User tokens are not sent when there is no user in session, such as for scheduled triggers.
forge tunnel is listening but receives nothing. Atlassian’s docs flag Chrome’s Local Network Access setting: check that chrome://flags/#local-network-access-check isn’t set to Enabled (Blocking). This affects the Forge tunnel path, so test your remote tunnel separately with curl.
Your UI dev server wants port 3000 too. If you use forge tunnel with a local dev server for Custom UI, run it and your backend on different ports.
Your logs look too helpful. Remove any logging of authorization, x-forge-oauth-system or x-forge-oauth-user. Atlassian says never to share or log OAuth access tokens.
A 57-day plan
- This week: convert the descriptor if you haven’t, publish your migration declaration, and list every Connect module and backend route.
- Mid-December: get FIT verification working and migrate your highest-traffic module.
- Before the holidays: build the
clientKeytoinstallationIdmapping and confirm it against real installation data. - Early January: test upgrades from a real Connect installation, including data and permission approval.
- Mid-January: confirm production deploys use your production URL, load-test, and leave time for any admin approvals.
A tunnel is a development tool. Production remotes belong on infrastructure with monitoring, redundancy and an on-call owner.
One more date for after the migration: from February 1, 2027, Forge plans to delete resources in idle non-production environments, 90 days after the last deployment for development and 180 days for staging. Redeploying restores them.
Frequently asked questions
Will my Connect app stop working on January 31, 2027?
Atlassian describes that date as the start of end of support, not a universal shutdown. It also warns that Connect apps will not continue in a steady state, and that some will stop functioning without advance notice.
Can I use localhost as a Forge Remote baseUrl?
No, not for a backend on your own machine. Forge calls remotes from Atlassian’s cloud, so yours needs a publicly reachable HTTPS URL.
Does forge tunnel expose my remote backend?
No. It handles your Forge app’s code and resources. A separately running backend needs its own HTTPS tunnel.
Do I have to rewrite my backend?
Not necessarily. Forge Remote can keep your business logic in place, but authentication, installation identity, manifest configuration and some API access will need changes.
The bottom line
The January date is close, but the local setup is small: one stable subdomain, one manifest variable and one strict token check. Get those working first. Then you can run the rest of the migration against a real development site, with your debugger attached and your existing backend still doing the work.
Related InstaTunnel pages
Continue from this article into the most relevant product guides and workflows.
Related Topics
Keep building with InstaTunnel
Read the docs for implementation details or compare plans before you ship.