Template
1
0

feat: add functional authentication

This commit is contained in:
2025-08-12 23:11:08 +02:00
parent f0630d43b7
commit 82d7a0d9cd
74 changed files with 763 additions and 396 deletions

28
api/.bruno/auth/Code.bru Normal file
View File

@@ -0,0 +1,28 @@
meta {
name: Code
type: http
seq: 2
}
get {
url: {{url}}/auth/code/:accountId/code/:codeId/:value
body: none
auth: inherit
}
params:path {
accountId:
codeId:
value:
}
script:post-response {
const cookies = res.getHeader('set-cookie');
if (cookies) {
bru.setVar("cookie", cookies.join('; '));
}
}
settings {
encodeUrl: true
}