Skip to content

Commit 6a6928c

Browse files
jhickmanitory-bot
authored andcommitted
fix: add oidc linking/unlinking to api settings flow
GitOrigin-RevId: c3fc0688e531326c0e00b797402d01e324b9abfb
1 parent e006333 commit 6a6928c

13 files changed

Lines changed: 1001 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
[
2+
{
3+
"attributes": {
4+
"disabled": false,
5+
"name": "csrf_token",
6+
"node_type": "input",
7+
"required": true,
8+
"type": "hidden"
9+
},
10+
"group": "default",
11+
"messages": [],
12+
"meta": {},
13+
"type": "input"
14+
},
15+
{
16+
"attributes": {
17+
"autocomplete": "email",
18+
"disabled": false,
19+
"name": "traits.email",
20+
"node_type": "input",
21+
"required": true,
22+
"type": "email"
23+
},
24+
"group": "profile",
25+
"messages": [],
26+
"meta": {},
27+
"type": "input"
28+
},
29+
{
30+
"attributes": {
31+
"disabled": false,
32+
"name": "traits.name",
33+
"node_type": "input",
34+
"type": "text"
35+
},
36+
"group": "profile",
37+
"messages": [],
38+
"meta": {},
39+
"type": "input"
40+
},
41+
{
42+
"attributes": {
43+
"disabled": false,
44+
"name": "method",
45+
"node_type": "input",
46+
"type": "submit",
47+
"value": "profile"
48+
},
49+
"group": "profile",
50+
"messages": [],
51+
"meta": {
52+
"label": {
53+
"id": 1070003,
54+
"text": "Save",
55+
"type": "info"
56+
}
57+
},
58+
"type": "input"
59+
},
60+
{
61+
"attributes": {
62+
"autocomplete": "new-password",
63+
"disabled": false,
64+
"name": "password",
65+
"node_type": "input",
66+
"required": true,
67+
"type": "password"
68+
},
69+
"group": "password",
70+
"messages": [],
71+
"meta": {
72+
"label": {
73+
"id": 1070001,
74+
"text": "Password",
75+
"type": "info"
76+
}
77+
},
78+
"type": "input"
79+
},
80+
{
81+
"attributes": {
82+
"disabled": false,
83+
"name": "method",
84+
"node_type": "input",
85+
"type": "submit",
86+
"value": "password"
87+
},
88+
"group": "password",
89+
"messages": [],
90+
"meta": {
91+
"label": {
92+
"id": 1070003,
93+
"text": "Save",
94+
"type": "info"
95+
}
96+
},
97+
"type": "input"
98+
},
99+
{
100+
"attributes": {
101+
"disabled": false,
102+
"name": "link",
103+
"node_type": "input",
104+
"type": "submit",
105+
"value": "github"
106+
},
107+
"group": "oidc",
108+
"messages": [],
109+
"meta": {
110+
"label": {
111+
"context": {
112+
"provider": "github"
113+
},
114+
"id": 1050002,
115+
"text": "Link github",
116+
"type": "info"
117+
}
118+
},
119+
"type": "input"
120+
},
121+
{
122+
"attributes": {
123+
"disabled": false,
124+
"name": "unlink",
125+
"node_type": "input",
126+
"type": "submit",
127+
"value": "google"
128+
},
129+
"group": "oidc",
130+
"messages": [],
131+
"meta": {
132+
"label": {
133+
"context": {
134+
"provider": "google"
135+
},
136+
"id": 1050003,
137+
"text": "Unlink google",
138+
"type": "info"
139+
}
140+
},
141+
"type": "input"
142+
},
143+
{
144+
"attributes": {
145+
"disabled": false,
146+
"name": "unlink",
147+
"node_type": "input",
148+
"type": "submit",
149+
"value": "ory"
150+
},
151+
"group": "oidc",
152+
"messages": [],
153+
"meta": {
154+
"label": {
155+
"context": {
156+
"provider": "Ory"
157+
},
158+
"id": 1050003,
159+
"text": "Unlink Ory",
160+
"type": "info"
161+
}
162+
},
163+
"type": "input"
164+
}
165+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
[
2+
{
3+
"attributes": {
4+
"disabled": false,
5+
"name": "csrf_token",
6+
"node_type": "input",
7+
"required": true,
8+
"type": "hidden"
9+
},
10+
"group": "default",
11+
"messages": [],
12+
"meta": {},
13+
"type": "input"
14+
},
15+
{
16+
"attributes": {
17+
"autocomplete": "email",
18+
"disabled": false,
19+
"name": "traits.email",
20+
"node_type": "input",
21+
"required": true,
22+
"type": "email"
23+
},
24+
"group": "profile",
25+
"messages": [],
26+
"meta": {},
27+
"type": "input"
28+
},
29+
{
30+
"attributes": {
31+
"disabled": false,
32+
"name": "traits.name",
33+
"node_type": "input",
34+
"type": "text"
35+
},
36+
"group": "profile",
37+
"messages": [],
38+
"meta": {},
39+
"type": "input"
40+
},
41+
{
42+
"attributes": {
43+
"disabled": false,
44+
"name": "method",
45+
"node_type": "input",
46+
"type": "submit",
47+
"value": "profile"
48+
},
49+
"group": "profile",
50+
"messages": [],
51+
"meta": {
52+
"label": {
53+
"id": 1070003,
54+
"text": "Save",
55+
"type": "info"
56+
}
57+
},
58+
"type": "input"
59+
},
60+
{
61+
"attributes": {
62+
"autocomplete": "new-password",
63+
"disabled": false,
64+
"name": "password",
65+
"node_type": "input",
66+
"required": true,
67+
"type": "password"
68+
},
69+
"group": "password",
70+
"messages": [],
71+
"meta": {
72+
"label": {
73+
"id": 1070001,
74+
"text": "Password",
75+
"type": "info"
76+
}
77+
},
78+
"type": "input"
79+
},
80+
{
81+
"attributes": {
82+
"disabled": false,
83+
"name": "method",
84+
"node_type": "input",
85+
"type": "submit",
86+
"value": "password"
87+
},
88+
"group": "password",
89+
"messages": [],
90+
"meta": {
91+
"label": {
92+
"id": 1070003,
93+
"text": "Save",
94+
"type": "info"
95+
}
96+
},
97+
"type": "input"
98+
},
99+
{
100+
"attributes": {
101+
"disabled": false,
102+
"name": "unlink",
103+
"node_type": "input",
104+
"type": "submit",
105+
"value": "github"
106+
},
107+
"group": "oidc",
108+
"messages": [],
109+
"meta": {
110+
"label": {
111+
"context": {
112+
"provider": "github"
113+
},
114+
"id": 1050003,
115+
"text": "Unlink github",
116+
"type": "info"
117+
}
118+
},
119+
"type": "input"
120+
},
121+
{
122+
"attributes": {
123+
"disabled": false,
124+
"name": "link",
125+
"node_type": "input",
126+
"type": "submit",
127+
"value": "google"
128+
},
129+
"group": "oidc",
130+
"messages": [],
131+
"meta": {
132+
"label": {
133+
"context": {
134+
"provider": "google"
135+
},
136+
"id": 1050002,
137+
"text": "Link google",
138+
"type": "info"
139+
}
140+
},
141+
"type": "input"
142+
},
143+
{
144+
"attributes": {
145+
"disabled": false,
146+
"name": "unlink",
147+
"node_type": "input",
148+
"type": "submit",
149+
"value": "ory"
150+
},
151+
"group": "oidc",
152+
"messages": [],
153+
"meta": {
154+
"label": {
155+
"context": {
156+
"provider": "Ory"
157+
},
158+
"id": 1050003,
159+
"text": "Unlink Ory",
160+
"type": "info"
161+
}
162+
},
163+
"type": "input"
164+
}
165+
]

0 commit comments

Comments
 (0)