Commit Graph

32 Commits

Author SHA1 Message Date
Tracker-Friendly bef5624ff7 Made user return correctly from userinfo and make the sub correct in the id token 2024-05-04 19:18:15 +01:00
Tracker-Friendly 9c57a49f0c Added a sub to user for it to be more easily mappable to matrix 2024-05-04 19:01:51 +01:00
Tracker-Friendly 402c310677 Pass through the nonce in the /app proxy 2024-05-04 18:58:41 +01:00
Tracker-Friendly 1f39df281d Merge remote-tracking branch 'origin/main' 2024-05-04 18:50:55 +01:00
Tracker-Friendly 22b50cba73 Make the nonce be based off the nonce specified by the app 2024-05-04 18:50:44 +01:00
Tracker-Friendly 1e797f5b5c Correctly display large integers instead of rounding off to base64 in the base64 encoding of the modulus 2024-05-04 18:36:39 +01:00
Tracker-Friendly 7974b78b66 Updated gitignore, fixed openid uri 2024-05-04 17:41:43 +01:00
Tracker-Friendly 36123f3eee Made the m and e the PRIVKEY's n and e 2024-05-04 16:37:43 +01:00
Tracker-Friendly 606a0f18cc Add KID in tokens 2024-05-04 16:32:49 +01:00
Tracker-Friendly 94662329e1 Fixed openid, finally 2024-05-04 16:15:40 +01:00
Tracker-Friendly 59a4ef0994 Added the weird padding authlib needs 2024-05-03 20:38:08 +01:00
Tracker-Friendly 81606b5aeb Added JWKS discovery URI 2024-05-03 20:22:00 +01:00
Tracker-Friendly 04af6c00fb Fixed RS256, again 2024-05-03 20:18:45 +01:00
Tracker-Friendly 728279ec63 Fixed RS256 2024-05-03 20:15:46 +01:00
Tracker-Friendly af9b94f3e1 Used JWT RS256 for matrix compatibility, fixed /userinfo endpoint 2024-05-03 19:07:28 +01:00
Tracker-Friendly b333137ee3 Fixed typo 2024-04-29 21:28:18 +01:00
Tracker-Friendly 2f490ee3ee Fixed typo 2024-04-29 21:23:15 +01:00
Tracker-Friendly 6e87268930 Made aeskeyshare work properly 2024-04-29 21:18:46 +01:00
Tracker-Friendly 8299915502 Added aeskeyshare and fixed html files to be more standard-complient 2024-04-29 01:45:22 +01:00
Tracker-Friendly a1ae521b56 Fixed various issues and added /api/loggedin 2024-04-29 01:18:56 +01:00
Tracker-Friendly 754048e3d6 More error handling 2024-04-29 01:18:10 +01:00
Tracker-Friendly 8e014312e2 Update main.go 2024-04-29 01:18:10 +01:00
Tracker-Friendly 5a76b78d77 Yet another broken schema fix 2024-04-29 01:18:10 +01:00
Tracker-Friendly 74230607a3 Drop tables properly 2024-04-29 01:18:10 +01:00
Tracker-Friendly 498d1975e7 Fixed schema 2024-04-29 01:18:10 +01:00
Tracker-Friendly 394bea3507 Use JSON instead of form for uniqueid 2024-04-29 01:18:10 +01:00
Tracker-Friendly 4ee58e69ff Fixed CORS 2024-04-29 01:18:10 +01:00
Tracker-Friendly 262293a2db Better token format 2024-04-29 01:18:10 +01:00
Tracker-Friendly f8cb4c3f86 Removed deprecated ioutil and switched to more secure crypto/rand 2024-04-29 01:18:10 +01:00
Tracker-Friendly 5d3022f1cc Fix various issues 2024-04-26 21:39:57 +01:00
Tracker-Friendly 7579d35b4a Migrate from internal test domain 2024-04-26 20:15:43 +00:00
Tracker-Friendly 4345e849fc Open source and release to the public 2024-04-26 20:12:56 +00:00