@logto/connector-apple 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/lib/constant.d.ts +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ You need to enroll [Apple Developer Program](https://developer.apple.com/program
|
|
|
30
30
|
|
|
31
31
|
You can do it via Xcode -> Project settings -> Signing & Capabilities, or visit [Certificates, Identifiers & Profiles](https://developer.apple.com/account/resources/identifiers/list/bundleId).
|
|
32
32
|
|
|
33
|
-

|
|
33
|
+

|
|
34
34
|
|
|
35
35
|
See the "Enable an App ID" section in [Apple official docs](https://developer.apple.com/documentation/sign_in_with_apple/configuring_your_environment_for_sign_in_with_apple) for more info.
|
|
36
36
|
|
|
@@ -45,13 +45,13 @@ See the "Enable an App ID" section in [Apple official docs](https://developer.ap
|
|
|
45
45
|
|
|
46
46
|
Click the identifier you just created. Check "Sign in with Apple" on the details page and click "Configure".
|
|
47
47
|
|
|
48
|
-

|
|
48
|
+

|
|
49
49
|
|
|
50
50
|
In the opening modal, select the App ID you just enabled Sign in with Apple.
|
|
51
51
|
|
|
52
52
|
Enter the domain of your Logto instance without protocol and port, e.g., `your.logto.domain`; then enter the "Return URL" (i.e., Redirect URI), which is the Logto URL with `/callback/${connector_id}`, e.g., `https://your.logto.domain/callback/apple-universal`. You can get the randomly generated `connector_id` after creating Apple connector in Admin Console.
|
|
53
53
|
|
|
54
|
-

|
|
54
|
+

|
|
55
55
|
|
|
56
56
|
Click "Next" then "Done" to close the modal. Click "Continue" on the top-right corner, then click "Save" to save your configuration.
|
|
57
57
|
|
package/lib/constant.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ConnectorMetadata } from '@logto/connector-kit';
|
|
2
2
|
export declare const issuer = "https://appleid.apple.com";
|
|
3
|
-
export declare const authorizationEndpoint
|
|
4
|
-
export declare const accessTokenEndpoint
|
|
5
|
-
export declare const jwksUri
|
|
3
|
+
export declare const authorizationEndpoint = "https://appleid.apple.com/auth/authorize";
|
|
4
|
+
export declare const accessTokenEndpoint = "https://appleid.apple.com/auth/token";
|
|
5
|
+
export declare const jwksUri = "https://appleid.apple.com/auth/keys";
|
|
6
6
|
export declare const scope = "";
|
|
7
7
|
export declare const defaultMetadata: ConnectorMetadata;
|
|
8
8
|
export declare const defaultTimeout = 5000;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/connector-apple",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Apple web connector implementation.",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@logto/connector-kit": "^2.
|
|
7
|
-
"@logto/shared": "^3.
|
|
6
|
+
"@logto/connector-kit": "^2.1.0",
|
|
7
|
+
"@logto/shared": "^3.1.0",
|
|
8
8
|
"jose": "^5.0.0"
|
|
9
9
|
},
|
|
10
10
|
"main": "./lib/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"logo-dark.svg"
|
|
20
20
|
],
|
|
21
21
|
"engines": {
|
|
22
|
-
"node": "^
|
|
22
|
+
"node": "^20.9.0"
|
|
23
23
|
},
|
|
24
24
|
"eslintConfig": {
|
|
25
25
|
"extends": "@silverhand",
|