Skip to content

Commit 7d9a69f

Browse files
authored
Merge pull request #395 from fractal-analytics-platform/callback-redirect
Avoid callback redirect
2 parents 26ac2da + b11947d commit 7d9a69f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* supported reordering of array fields;
1010
* set bold font on nested required properties;
1111
* improved field validation error messages.
12+
* Add trailing slash to OAuth-callback url (\#395).
1213

1314
# 0.8.1
1415

src/routes/auth/login/oauth2/+layout.server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export async function load({ request, fetch, cookies }) {
1414
}
1515

1616
const response = await fetch(
17-
`${FRACTAL_SERVER_HOST}/auth/${PUBLIC_OAUTH_CLIENT_NAME}/callback${request.url.substring(
17+
`${FRACTAL_SERVER_HOST}/auth/${PUBLIC_OAUTH_CLIENT_NAME}/callback/${request.url.substring(
1818
queryStringIndex
1919
)}`
2020
);

0 commit comments

Comments
 (0)