Skip to content

Commit 963a781

Browse files
authored
fix: use appleid.apple.com as default issuer (#2068)
## What kind of change does this PR introduce? Bug fix ## What is the current behavior? Sign-in with Apple does not open the native sign-in flow (face-id + "continue" button), but rather redirects to the account.apple.com website, where users have to do a full manual sign-in. I'm pretty sure this is due to a change introduced (the change to using "account.apple.com" instead of "appleid.apple.com") while there was an outage/issue on Apple's side. ## What is the new behavior? The native sign-in flow should be used when available (e.g. on an iOS device). ## Additional context This should resolve the problem described by [lizbzlx (comment)](#2051 (comment)), [obeliskgroup (comment)](#2051 (comment)) and [bsheikh (comment)](#2051 (comment)) in [this issue](#2051).
1 parent 57eddcb commit 963a781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/api/provider/apple.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
"golang.org/x/oauth2"
1616
)
1717

18-
const DefaultAppleIssuer = "https://account.apple.com"
19-
const OtherAppleIssuer = "https://appleid.apple.com"
18+
const DefaultAppleIssuer = "https://appleid.apple.com"
19+
const OtherAppleIssuer = "https://account.apple.com"
2020

2121
func IsAppleIssuer(issuer string) bool {
2222
return issuer == DefaultAppleIssuer || issuer == OtherAppleIssuer

0 commit comments

Comments
 (0)