Shopware 6.7.8.0 oauth_user
Tracks OAuth user sessions — used internally for Admin API authentication tokens.
| Column | Type | Nullable | Additional |
| id | binary(16) | NO | Primary Key |
| user_id | binary(16) | NO | Unique
Foreign Key → user.id |
| user_sub | varchar(255) | NO | Unique |
| token | json | YES | |
| expiry | datetime | NO | |
| created_at | datetime(3) | NO | |
| updated_at | datetime(3) | YES | |
| Index Name | Columns | Unique |
| id | id | Yes |
| idx.oauth_user.user_sub | user_sub | No |
| PRIMARY | id | Yes |
| user_id | user_id | Yes |
| user_sub | user_sub | Yes |
Relations (from this table)
1 relations
| Local Field | Foreign Table | Foreign Field |
| user_id | user | id |