ai.newnal.illi.account.parent.startOAuth
Schema Diff
+2 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Start a parent's OAuth sign-in on the device through the PDN's own page (BFF), for an existing Newnal ID whose credentials are typed on the PDN page. Device-created accounts, and existing ones whose credentials the device app takes itself (D-73), sign in with account.parent.signIn instead (D-61, D-62). client=native ends with a one-time code on the device app's App Link for account.exchangeCode instead of a cookie (D-45).",
5
+
"description": "Start a parent's OAuth sign-in on the device through the PDN's own page (BFF), for an existing Newnal ID whose credentials are typed on the PDN page. Device-created accounts, and existing ones whose credentials the device app takes itself, sign in with account.parent.signIn instead. client=native ends with a one-time code on the device app's App Link for account.exchangeCode instead of a cookie.",
6
6
"errors": [
7
7
{
8
8
"name": "ParentLimitReached"
9
9
},
10
10
{
11
11
"name": "ParentAlreadyLinked"
12
12
}
13
13
],
14
14
"input": {
15
15
"encoding": "application/json",
16
16
"schema": {
17
17
"properties": {
18
18
"client": {
19
19
"default": "web",
20
20
"description": "web (default): the callback sets the device-app cookie. native: the callback redirects to the device app's App Link with a 60-second one-time code for account.exchangeCode.",
21
21
"knownValues": [
22
22
"web",
23
23
"native"
24
24
],
25
25
"type": "string"
26
26
},
27
27
"codeChallenge": {
28
-
"description": "Required with client native (D-76): base64url(SHA-256(codeVerifier)) without padding. The one-time code the callback returns can only be exchanged with that verifier (account.exchangeCode).",
28
+
"description": "Required with client native: base64url(SHA-256(codeVerifier)) without padding. The one-time code the callback returns can only be exchanged with that verifier (account.exchangeCode).",
29
29
"maxLength": 43,
30
30
"minLength": 43,
31
31
"type": "string"
32
32
},
33
33
"deviceId": {
34
34
"maxLength": 64,
35
35
"type": "string"
36
36
},
37
37
"mode": {
38
38
"knownValues": [
39
39
"create",
40
40
"signIn"
41
41
],
42
42
"type": "string"
43
43
},
44
44
"slot": {
45
45
"maximum": 2,
46
46
"minimum": 1,
47
47
"type": "integer"
48
48
}
49
49
},
50
50
"required": [
51
51
"mode"
52
52
],
53
53
"type": "object"
54
54
}
55
55
},
56
56
"output": {
57
57
"encoding": "application/json",
58
58
"schema": {
59
59
"properties": {
60
60
"loginUrl": {
61
61
"format": "uri",
62
62
"type": "string"
63
63
}
64
64
},
65
65
"required": [
66
66
"loginUrl"
67
67
],
68
68
"type": "object"
69
69
}
70
70
},
71
71
"type": "procedure"
72
72
}
73
73
},
74
74
"id": "ai.newnal.illi.account.parent.startOAuth",
75
75
"lexicon": 1
76
76
}