Skip to content

Commit 74ab7b5

Browse files
committed
fixes apple redirect 404 issuer
1 parent bb49afe commit 74ab7b5

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [unreleased]
99

10+
## [0.8.1] - 2022-07-12
11+
12+
### Fixes:
13+
- Fixes issue with 404 status being sent for apple redirect callback route.
14+
1015
## [0.8.0] - 2022-07-08
1116

1217
### Breaking change:

recipe/thirdparty/api/implementation.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ func MakeAPIImplementation() tpmodels.APIInterface {
185185
options.AppInfo.WebsiteBasePath.GetAsStringDangerous() + "/callback/apple?state=" + state + "&code=" + code
186186

187187
options.Res.Header().Set("Content-Type", "text/html; charset=utf-8")
188+
options.Res.WriteHeader(200)
188189

189190
fmt.Fprint(options.Res, "<html><head><script>window.location.replace(\""+redirectURL+"\");</script></head></html>")
190191
return nil

supertokens/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
)
2222

2323
// VERSION current version of the lib
24-
const VERSION = "0.8.0"
24+
const VERSION = "0.8.1"
2525

2626
var (
2727
cdiSupported = []string{"2.8", "2.9", "2.10", "2.11", "2.12", "2.13", "2.14"}

0 commit comments

Comments
 (0)