Radical radical
  • Norway
  • Joined on 2025-04-28
radical pushed to main at gorb/gorb.app 2025-05-05 00:54:49 +00:00
3b7860715f ci: add ci to automatically publish new versions
radical pushed to main at gorb/gorb.app 2025-05-05 00:51:35 +00:00
c8b701e89d ci: use base64 encoded key
radical pushed to main at gorb/gorb.app 2025-05-05 00:47:42 +00:00
93bbaa2b91 ci: try using ssh-agent
radical pushed to main at gorb/gorb.app 2025-05-05 00:29:09 +00:00
257decff6e ci: make ssh directory in home folder
radical pushed to main at gorb/gorb.app 2025-05-05 00:27:24 +00:00
300849712b ci: add ci to automatically publish new versions
radical pushed to main at gorb/backend 2025-05-04 21:50:43 +00:00
77245e98c5 refactor: combine crypto.rs with utils.rs
radical pushed to wip/username-regex at gorb/backend 2025-05-04 21:41:42 +00:00
8a1467c26a Merge branch 'main' into wip/username-regex
c2bface373 Merge pull request 'wip/authorization-header' (#7) from wip/authorization-header into main
c61f96ffe7 feat: expire refresh_token immediately on unauthorized response
0f897dc0c6 feat: return refresh_token in cookie
ebb4286c08 refactor: move api to /api
Compare 10 commits »
radical pushed to wip/messaging at gorb/backend 2025-05-04 21:40:09 +00:00
beb9fc10ba feat: use new auth and convert to get request
fb76e6df08 feat: use new auth
Compare 2 commits »
radical pushed to wip/messaging at gorb/backend 2025-05-04 21:24:38 +00:00
c9d3b2cd12 Merge branch 'main' into wip/messaging
c2bface373 Merge pull request 'wip/authorization-header' (#7) from wip/authorization-header into main
c61f96ffe7 feat: expire refresh_token immediately on unauthorized response
0f897dc0c6 feat: return refresh_token in cookie
ebb4286c08 refactor: move api to /api
Compare 10 commits »
radical created pull request gorb/backend#9 2025-05-04 21:19:46 +00:00
WIP: servers and channels
radical deleted branch wip/authorization-header from gorb/backend 2025-05-04 21:18:29 +00:00
radical pushed to main at gorb/backend 2025-05-04 21:18:29 +00:00
c2bface373 Merge pull request 'wip/authorization-header' (#7) from wip/authorization-header into main
c61f96ffe7 feat: expire refresh_token immediately on unauthorized response
0f897dc0c6 feat: return refresh_token in cookie
ebb4286c08 refactor: move api to /api
f12f81d584 fix: extract auth value
Compare 9 commits »
radical merged pull request gorb/backend#7 2025-05-04 21:18:28 +00:00
wip/authorization-header
radical pushed to wip/authorization-header at gorb/backend 2025-05-04 21:02:23 +00:00
c61f96ffe7 feat: expire refresh_token immediately on unauthorized response
radical commented on pull request gorb/backend#7 2025-05-04 20:59:08 +00:00
wip/authorization-header

revoke will not be changed however, we'll have a separate endpoint for logout

radical commented on pull request gorb/backend#7 2025-05-04 20:57:47 +00:00
wip/authorization-header

apparently actix has a built in for this, ill implement it

let mut refresh_token_cookie = refresh_token_cookie(refresh_token);

refresh_token_cookie.make_removal();

return
radical commented on pull request gorb/backend#7 2025-05-04 20:52:44 +00:00
wip/authorization-header

@sauceyred wrote in gorb/backend#7 (comment):

@radical wrote in #7 (comment):

@sauceyred wrote in #7 (comment):

@radical wrote in #7…

radical commented on pull request gorb/backend#7 2025-05-04 20:48:55 +00:00
wip/authorization-header

also why does the backend need to set it to 0, shouldnt the frontend just remove the token if it gets a 401?

radical commented on pull request gorb/backend#7 2025-05-04 20:46:31 +00:00
wip/authorization-header

@sauceyred wrote in gorb/backend#7 (comment):

@radical wrote in #7 (comment):

@sauceyred wrote in #7 (comment):

Please add `Set-Cookie:…

radical commented on pull request gorb/backend#7 2025-05-04 20:38:55 +00:00
wip/authorization-header

@sauceyred wrote in gorb/backend#7 (comment):

Please add Set-Cookie: refresh_token={token}; HttpOnly; Secure; SameSite=None; Path=/api/; Max-Age=0 to the…