You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've overhauled how the Fusion Framework CLI handles authentication. The headline: your CI/CD pipelines no longer need to manually acquire and pass around access tokens, and locally ffc auth token finally remembers that you already logged in.
What's new
The CLI now uses Azure Identity under the hood instead of raw MSAL. Two things change in practice:
1. No more FUSION_TOKEN plumbing in pipelines
Previously, every GitHub Actions workflow that called ffc commands needed a dedicated step to fetch an access token and export it as FUSION_TOKEN:
Now the CLI picks up the Azure session automatically — just azure/login and go:
# ✅ After — CLI resolves credentials from the environment
- name: Azure Loginuses: azure/login@v3with:
client-id: ${{ vars.SP_CLIENT_ID }}tenant-id: 3aa4a235-b6e2-48d5-9195-7fcf05b459b0allow-no-subscriptions: true
- name: Run CLI commandrun: ffc app publish
No az account get-access-token, no FUSION_TOKEN, no extra step. The CLI detects the logged-in Azure session and acquires tokens on its own. This works with OIDC federation, managed identity, service principals, and az login — anything DefaultAzureCredential supports.
2. Login persists across terminal restarts
Locally, ffc auth login now stores your credentials in the OS keychain (Keychain on macOS, DPAPI on Windows, libsecret on Linux). That means:
Run ffc auth login once
Close your terminal, reboot, come back tomorrow
ffc auth token still works — no browser prompt
Previously every ffc auth token call would open the browser again because nothing was persisted between sessions.
What you need to do
Locally: Run ffc auth login once after upgrading. The old token cache is not carried over.
In pipelines: You can remove the Get Access Token / FUSION_TOKEN step. Just make sure azure/login runs before any ffc commands.
The existing @equinor/fusion-framework-module-msal-node package is not removed — if your code uses it directly, nothing changes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
We've overhauled how the Fusion Framework CLI handles authentication. The headline: your CI/CD pipelines no longer need to manually acquire and pass around access tokens, and locally
ffc auth tokenfinally remembers that you already logged in.What's new
The CLI now uses Azure Identity under the hood instead of raw MSAL. Two things change in practice:
1. No more
FUSION_TOKENplumbing in pipelinesPreviously, every GitHub Actions workflow that called
ffccommands needed a dedicated step to fetch an access token and export it asFUSION_TOKEN:Now the CLI picks up the Azure session automatically — just
azure/loginand go:No
az account get-access-token, noFUSION_TOKEN, no extra step. The CLI detects the logged-in Azure session and acquires tokens on its own. This works with OIDC federation, managed identity, service principals, andaz login— anythingDefaultAzureCredentialsupports.2. Login persists across terminal restarts
Locally,
ffc auth loginnow stores your credentials in the OS keychain (Keychain on macOS, DPAPI on Windows, libsecret on Linux). That means:ffc auth loginonceffc auth tokenstill works — no browser promptPreviously every
ffc auth tokencall would open the browser again because nothing was persisted between sessions.What you need to do
Locally: Run
ffc auth loginonce after upgrading. The old token cache is not carried over.In pipelines: You can remove the
Get Access Token/FUSION_TOKENstep. Just make sureazure/loginruns before anyffccommands.The existing
@equinor/fusion-framework-module-msal-nodepackage is not removed — if your code uses it directly, nothing changes.Learn more
Released packages
@equinor/fusion-framework-module-azure-identity0.2.0@equinor/fusion-framework-cli15.0.0@equinor/fusion-framework-module-msal-node4.1.1All reactions