You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apply Go modernization fixes from `go fix ./...` across both v1 and v2:
* `interface{}` -> `any` (Go 1.18+ alias)
* Other small idiomatic updates
No behaviour changes; this is a hygiene pass to make the build green
under stricter linters and bring the codebase up to modern Go style.
Run with Go 1.25+ as required by CLAUDE.md and go.mod.
Copy file name to clipboardExpand all lines: provider/apple.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ type AppleConfig struct {
76
76
ResponseModestring// changes method of receiving data in callback. Default value "form_post" (https://developer.apple.com/documentation/sign_in_with_apple/request_an_authorization_to_the_sign_in_with_apple_server?changes=_1_2#4066168)
77
77
78
78
scopes []string// for this package allow only username scope and UID in token claims. Apple service API provide only "email" and "name" scope values (https://developer.apple.com/documentation/sign_in_with_apple/clientconfigi/3230955-scope)
79
-
privateKeyinterface{}// private key from Apple obtained in developer account (the keys section). Required for create the Client Secret (https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens#3262048)
79
+
privateKeyany// private key from Apple obtained in developer account (the keys section). Required for create the Client Secret (https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens#3262048)
80
80
publicKey crypto.PublicKey// need for validate sign of token
81
81
clientSecretstring// is the JWT client secret will create after first call and then used until expired
82
82
jwkURLstring// URL for fetch JWK Apple keys, need redefine for tests
0 commit comments