full diff

ai.newnal.illi.account.parent.startOAuth

From
bafyreiesxjdxszoi6nmrh5hao6xvezxmdhfiswcbhpwqfmfc6yddknfcgu indexed 2026-10-21 08:12 UTC View this version
To
bafyreias6zf5opxvrsh5nyqkkakekfsgcv6haqle37s44tniuagi2xazry indexed 2026-10-23 07:24 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "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.",
66 "errors": [
77 {
88 "name": "ParentLimitReached"
99 },
1010 {
1111 "name": "ParentAlreadyLinked"
1212 }
1313 ],
1414 "input": {
1515 "encoding": "application/json",
1616 "schema": {
1717 "properties": {
1818 "client": {
1919 "default": "web",
2020 "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.",
2121 "knownValues": [
2222 "web",
2323 "native"
2424 ],
2525 "type": "string"
2626 },
2727 "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).",
2929 "maxLength": 43,
3030 "minLength": 43,
3131 "type": "string"
3232 },
3333 "deviceId": {
3434 "maxLength": 64,
3535 "type": "string"
3636 },
3737 "mode": {
3838 "knownValues": [
3939 "create",
4040 "signIn"
4141 ],
4242 "type": "string"
4343 },
4444 "slot": {
4545 "maximum": 2,
4646 "minimum": 1,
4747 "type": "integer"
4848 }
4949 },
5050 "required": [
5151 "mode"
5252 ],
5353 "type": "object"
5454 }
5555 },
5656 "output": {
5757 "encoding": "application/json",
5858 "schema": {
5959 "properties": {
6060 "loginUrl": {
6161 "format": "uri",
6262 "type": "string"
6363 }
6464 },
6565 "required": [
6666 "loginUrl"
6767 ],
6868 "type": "object"
6969 }
7070 },
7171 "type": "procedure"
7272 }
7373 },
7474 "id": "ai.newnal.illi.account.parent.startOAuth",
7575 "lexicon": 1
7676}

Compare other versions