Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 Bip Bop - Fusion Framework Release #2525

Merged
merged 1 commit into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/lazy-games-clap.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/little-gifts-chew.md

This file was deleted.

13 changes: 13 additions & 0 deletions packages/react/legacy-interopt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Change Log

## 17.0.1

### Patch Changes

- [#2524](https://github.com/equinor/fusion-framework/pull/2524) [`1941b76`](https://github.com/equinor/fusion-framework/commit/1941b76bdad85af3fe2ccfa9e46180e14940d2a1) Thanks [@odinr](https://github.com/odinr)! - Fixed `LegacyAuthContainer.registerAppAsync` to not create duplicate AuthApps when additional resources are added to the app.

- [#2524](https://github.com/equinor/fusion-framework/pull/2524) [`1941b76`](https://github.com/equinor/fusion-framework/commit/1941b76bdad85af3fe2ccfa9e46180e14940d2a1) Thanks [@odinr](https://github.com/odinr)! - Fixed `createServiceResolver` to extract app client id from each services.
Previously we assumed that all services registered to the legacy auth container would use the same scope as all other services. This is not the case, as each service can have its own scope. This change allows us to extract the client id from the service definition, which is then used to create the service resolver.

Resources are indexed by the client id, so when acquiring a resource, the legacy auth container will use the client id to generate an auth token. This token is then used to authenticate the request to the resource.

**NOTE:** This will and should be deprecated in the future! This "bug" was discovered while an application used a mixed of legacy and new Framework, which caused the application to fail to authenticate requests to the resource (wrong audience).

## 17.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/legacy-interopt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/fusion-framework-legacy-interopt",
"version": "17.0.0",
"version": "17.0.1",
"description": "Library for interopt legacy fusion applications",
"main": "dist/esm/index.js",
"exports": {
Expand Down