From ca15bc2492d4c4d039d2969d3e518592d894acff Mon Sep 17 00:00:00 2001 From: Yassine Zeriouh Date: Sat, 27 Jan 2024 00:58:19 +0100 Subject: [PATCH 1/2] Fix Atlassian provider (#1353) --- .auri/$ygs60su4.md | 6 ++++++ packages/oauth/src/providers/atlassian.ts | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .auri/$ygs60su4.md diff --git a/.auri/$ygs60su4.md b/.auri/$ygs60su4.md new file mode 100644 index 000000000..9b5374715 --- /dev/null +++ b/.auri/$ygs60su4.md @@ -0,0 +1,6 @@ +--- +package: "@lucia-auth/oauth" +type: "patch" +--- + +Fixed the endpoint used for exchanging authorization codes for the Atlassian provider diff --git a/packages/oauth/src/providers/atlassian.ts b/packages/oauth/src/providers/atlassian.ts index 36182cce9..c7c86f3fa 100644 --- a/packages/oauth/src/providers/atlassian.ts +++ b/packages/oauth/src/providers/atlassian.ts @@ -67,7 +67,7 @@ export class AtlassianAuth< access_token: string; expires_in: number; refresh_token?: string; - }>(code, "https://auth.atlassian.com/token", { + }>(code, "https://auth.atlassian.com/oauth/token", { clientId: this.config.clientId, redirectUri: this.config.redirectUri, clientPassword: { From 31dfa7d13210e27512a577cd71a64dbd41d47b1a Mon Sep 17 00:00:00 2001 From: "Lucy (bot)" <126932300+lucythecat@users.noreply.github.com> Date: Sat, 27 Jan 2024 09:08:15 +0900 Subject: [PATCH 2/2] CI: Release (#1355) --- .auri/$ygs60su4.md | 6 ------ packages/oauth/CHANGELOG.md | 6 ++++++ packages/oauth/package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 .auri/$ygs60su4.md diff --git a/.auri/$ygs60su4.md b/.auri/$ygs60su4.md deleted file mode 100644 index 9b5374715..000000000 --- a/.auri/$ygs60su4.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -package: "@lucia-auth/oauth" -type: "patch" ---- - -Fixed the endpoint used for exchanging authorization codes for the Atlassian provider diff --git a/packages/oauth/CHANGELOG.md b/packages/oauth/CHANGELOG.md index 867b535c8..772674ee6 100644 --- a/packages/oauth/CHANGELOG.md +++ b/packages/oauth/CHANGELOG.md @@ -1,5 +1,11 @@ # @lucia-auth/oauth +## 3.5.3 + +### Patch changes + +- [#1353](https://github.com/lucia-auth/lucia/pull/1353) by [@xyassini](https://github.com/xyassini) : Fixed the endpoint used for exchanging authorization codes for the Atlassian provider + ## 3.5.2 ### Patch changes diff --git a/packages/oauth/package.json b/packages/oauth/package.json index 072b4a68f..0f595a202 100644 --- a/packages/oauth/package.json +++ b/packages/oauth/package.json @@ -1,6 +1,6 @@ { "name": "@lucia-auth/oauth", - "version": "3.5.2", + "version": "3.5.3", "description": "OAuth integration for Lucia", "main": "dist/index.js", "types": "dist/index.d.ts",