Skip to content

Commit 64035e1

Browse files
committed
📝 Add migration table for churros oauth clients to authentik
1 parent 5d090db commit 64035e1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,22 @@ bun mesh dev
1717
1. Aller sur <http://localhost:9001/if/flows/initial-setup>
1818
2. [Créer un token](http://localhost:9001/if/user/#/settings;%7B%22page%22%3A%22page-tokens%22%7D)
1919
3. Lancer `HURL_token=...le token ici... bun hurl tests/test.hurl`
20+
21+
## Migration clients OAuth depuis Churros
22+
23+
| Field | Type | migration |
24+
| ------------------- | ---------------------- | ------------------------------------------------------------------------------------- |
25+
| id | String | /providers/oauth2: `client_id` |
26+
| createdAt | DateTime | _perdu_ |
27+
| updatedAt | DateTime? | _perdu_ |
28+
| ownerId | String | /core/applications: `group` (uid, ou id??) |
29+
| owner | Group | (via API Churros) |
30+
| name | String | /core/applications: `name` |
31+
| description | String | /core/applications: `meta_description` |
32+
| allowedRedirectUris | String[] | /providers/oauth2: `redirect_uris` |
33+
| credentials | ThirdPartyCredential[] | _géré par Authentik, plus nécéssaire_ |
34+
| secret | String | /providers/oauth2: `client_secret` |
35+
| website | String | /core/applications: `meta_publisher` |
36+
| faviconUrl | String | /core/applications: `meta_icon` (et `POST /core/applications/{slug}/set_icon(_url)?`) |
37+
| active | Boolean | _perdu_ |
38+
| users | User[] | /core/applications/{slug}/user_by (peut-être) |

0 commit comments

Comments
 (0)