Skip to content
Open
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
11 changes: 0 additions & 11 deletions .changeset/fluffy-donkeys-jump.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/adapter-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@types/node": "^20.3.1",
"@types/react": "^18.2.13",
"@types/react-dom": "^18.2.6",
"aws-amplify": "6.20.0",
"aws-amplify": "6.20.1",
"jest-fetch-mock": "3.0.3",
"next": ">= 13.5.0 <17.0.0"
},
Expand Down
12 changes: 12 additions & 0 deletions packages/auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## 6.20.1

### Patch Changes

- [#14902](https://github.com/aws-amplify/amplify-js/pull/14902) [`4661401`](https://github.com/aws-amplify/amplify-js/commit/46614015534d5d2080b2da4887ec020cb15bcea8) Thanks [@soberm](https://github.com/soberm)! - fix(auth): allow prompt=none silent SSO to resume federated sessions

`signInWithRedirect` always appended `identity_provider=COGNITO` to the `/oauth2/authorize` request when no `provider` or `idpIdentifier` was supplied. Cognito treats `identity_provider` as a provider selector, so pinning it to `COGNITO` while requesting a silent sign in with `options.prompt: 'NONE'` restricted the attempt to native Cognito sessions. Users whose live hosted UI session originated from a federated IdP (for example Google or a SAML provider) were rejected with `error=login_required` instead of having their session resumed.

`identity_provider` is now omitted only when `prompt` is `'NONE'` and neither `provider` nor `idpIdentifier` is specified, which lets Cognito resume whichever session is already active. All other behavior is unchanged: an explicit `provider` still sends `identity_provider`, an `idpIdentifier` still sends `idp_identifier`, and the interactive no-argument call still defaults to `identity_provider=COGNITO`.

Fixes https://github.com/aws-amplify/amplify-js/issues/14897

## 6.20.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/auth",
"version": "6.20.0",
"version": "6.20.1",
"description": "Auth category of aws-amplify",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
Expand Down
7 changes: 7 additions & 0 deletions packages/aws-amplify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 6.20.1

### Patch Changes

- Updated dependencies [[`4661401`](https://github.com/aws-amplify/amplify-js/commit/46614015534d5d2080b2da4887ec020cb15bcea8)]:
- @aws-amplify/auth@6.20.1

## 6.20.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-amplify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-amplify",
"version": "6.20.0",
"version": "6.20.1",
"description": "AWS Amplify is a JavaScript library for Frontend and mobile developers building cloud-enabled applications.",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
Expand Down Expand Up @@ -305,7 +305,7 @@
"dependencies": {
"@aws-amplify/analytics": "7.1.0",
"@aws-amplify/api": "6.3.29",
"@aws-amplify/auth": "6.20.0",
"@aws-amplify/auth": "6.20.1",
"@aws-amplify/core": "6.18.0",
"@aws-amplify/datastore": "5.1.10",
"@aws-amplify/notifications": "2.1.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/pubsub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 6.1.71

### Patch Changes

- Updated dependencies [[`4661401`](https://github.com/aws-amplify/amplify-js/commit/46614015534d5d2080b2da4887ec020cb15bcea8)]:
- @aws-amplify/auth@6.20.1

## 6.1.70

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/pubsub/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/pubsub",
"version": "6.1.70",
"version": "6.1.71",
"description": "Pubsub category of aws-amplify",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
Expand Down Expand Up @@ -74,7 +74,7 @@
"mqtt"
],
"dependencies": {
"@aws-amplify/auth": "6.20.0",
"@aws-amplify/auth": "6.20.1",
"buffer": "4.9.2",
"graphql": "15.8.0",
"rxjs": "^7.8.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/rtn-passkeys/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@aws-amplify/react-native": "1.3.3",
"@aws-amplify/rtn-passkeys": "1.1.2",
"@react-native-async-storage/async-storage": "^2.1.2",
"aws-amplify": "6.20.0",
"aws-amplify": "6.20.1",
"react": "19.2.1",
"react-native": "0.79.2",
"react-native-get-random-values": "^1.11.0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/tsc-compliance-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"devDependencies": {
"@types/node": "16.18.82",
"aws-amplify": "6.20.0",
"aws-amplify": "6.20.1",
"typescript": "4.5.x"
},
"scripts": {
Expand Down