feat: Revert to using app_metadata for authentication (#7433)

This commit is contained in:
Stevche Radevski
2024-05-23 22:01:41 +02:00
committed by GitHub
parent 6ec6e2c7b6
commit 135772b27b
24 changed files with 149 additions and 265 deletions
@@ -73,6 +73,9 @@ export const POST = async (
actor_id: result.id,
actor_type: "user",
auth_identity_id: req.auth_context.auth_identity_id,
app_metadata: {
user_id: result.id,
},
},
{
secret: jwtSecret,