refactor(identity): rename authentik_sub to user_sub and authentik_user_id to idp_user_id
This commit is contained in:
@@ -111,7 +111,7 @@ Response:
|
||||
"items": [
|
||||
{
|
||||
"id": "uuid",
|
||||
"authentik_sub": "authentik-uid",
|
||||
"user_sub": "authentik-uid",
|
||||
"username": "chris",
|
||||
"email": "chris@ose.tw",
|
||||
"display_name": "Chris",
|
||||
@@ -128,7 +128,7 @@ Response:
|
||||
Request:
|
||||
```json
|
||||
{
|
||||
"sub": "authentik-uid",
|
||||
"user_sub": "authentik-uid",
|
||||
"username": "chris",
|
||||
"email": "chris@ose.tw",
|
||||
"display_name": "Chris",
|
||||
@@ -140,8 +140,8 @@ Response:
|
||||
```json
|
||||
{
|
||||
"id": "uuid",
|
||||
"sub": "authentik-uid",
|
||||
"authentik_user_id": 123,
|
||||
"user_sub": "authentik-uid",
|
||||
"idp_user_id": 123,
|
||||
"username": "chris",
|
||||
"email": "chris@ose.tw",
|
||||
"display_name": "Chris",
|
||||
@@ -149,11 +149,11 @@ Response:
|
||||
}
|
||||
```
|
||||
|
||||
### GET `/internal/permissions/{authentik_sub}/snapshot`
|
||||
### GET `/internal/permissions/{user_sub}/snapshot`
|
||||
Response:
|
||||
```json
|
||||
{
|
||||
"authentik_sub": "authentik-uid",
|
||||
"user_sub": "authentik-uid",
|
||||
"permissions": [
|
||||
{
|
||||
"scope_type": "site",
|
||||
@@ -170,7 +170,7 @@ Response:
|
||||
Request:
|
||||
```json
|
||||
{
|
||||
"sub": "authentik-uid",
|
||||
"user_sub": "authentik-uid",
|
||||
"email": "user@example.com",
|
||||
"username": "user1",
|
||||
"display_name": "User One",
|
||||
@@ -181,7 +181,7 @@ Request:
|
||||
Response:
|
||||
```json
|
||||
{
|
||||
"authentik_user_id": 123,
|
||||
"idp_user_id": 123,
|
||||
"action": "created"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user