Commit graph

62 commits

Author SHA1 Message Date
8d4092bd25 Updated PHPStan (cant be bothered to fix things yet sorry) 2024-11-14 00:03:43 +00:00
a53085e447 Updated Index and RPCii. 2024-11-13 23:58:43 +00:00
bf40942e72 Added field for specifying per app access token lifetime length. 2024-09-04 21:02:44 +00:00
12d48cce2e Added migrations for scope stuff (i forgor). 2024-09-03 20:25:31 +00:00
2ba03885ed Added prune cron script. 2024-09-03 20:16:50 +00:00
dcb5cf0175 Added scope registration and checking. 2024-09-03 19:59:31 +00:00
926bd02bfc Added remote address arguments. 2024-08-25 22:53:05 +00:00
6a17a53290 Fixed typo. 2024-08-25 22:24:03 +00:00
7aa640364e Update auth RPC procedures. 2024-08-25 21:53:34 +00:00
eafe5b3776 Added LICENCE and README (way too late...) 2024-08-25 01:50:28 +00:00
577f3eb056 Fixed error when loading verify page. 2024-08-25 01:45:01 +00:00
034449737c Added API RPC routes and made backing code shareable. 2024-08-25 01:41:47 +00:00
b43c1ad2fd Replaced Misuzu interop stuff with RPC library. 2024-08-16 19:30:24 +00:00
8d6f7c5b7b Updated Index in Hanyuu and configured PHPStan. 2024-08-04 22:49:20 +00:00
c259493303 Updated OAuth2 error handling. 2024-07-31 16:25:36 +00:00
53822c5fd9 Restructured code authorisation flow. 2024-07-30 21:24:20 +00:00
5fa03dd551 Removed mentions of "device" from the UI and URLs.
While the intention of the extension specification to OAuth2 for device codes is indeed intended for handling authorisation on devices where the user cannot use any input method on the device,
 it's also very useful for when we want to authorise older devices where there are other difficulties, such as outdated or intentionally omitted root certificates making it only possible to use
 plain HTTP, or just other sorts of applications where having to make a web UI just for receiving the authorisation code to complete the token request would be a bother,
 for me such a case would be bots like Satori.
It essentially just replaces three-legged authorisation from OAuth 1.0a but without the needlessly complex annoying aspects of OAuth 1.0a.

Beyond that I'm also just sick of entering my ridiculously long, randomly generated password letter by letter on the inaccurate touch screen of the Nintendo 3DS.
2024-07-30 13:08:22 +00:00
ffb0cb96df Implemented partial UI for device authorisation. 2024-07-30 00:16:42 +00:00
61dad487f6 Configurable refresh token lifetimes. 2024-07-27 03:42:33 +00:00
dd968eae44 Corrected method name. 2024-07-21 01:38:47 +00:00
2eed4d170c Made the method part case insensitive. 2024-07-21 01:37:32 +00:00
31c54b966a Added stinky token check endpoint. 2024-07-21 01:28:54 +00:00
1149341cc9 Adjustments to WWW-Authenticate header and altered device routes. 2024-07-21 01:10:40 +00:00
f6346e3f25 Added styling to the authorisation prompt etc. 2024-07-21 00:47:00 +00:00
86b32bb8eb Forgor the one for Sentry. 2024-07-20 19:32:19 +00:00
c60e2028c3 Added example config file. 2024-07-20 19:31:15 +00:00
ff4b1ba4e2 Added Apps and OAuth2 migrations. 2024-07-20 19:17:56 +00:00
ce57936c3a Implemented the device code flow. 2024-07-20 18:51:39 +00:00
c8432fa15e Fixes for things I noticed I will probably forget to fix otherwise. 2024-07-20 03:27:29 +00:00
89a767ec25 Device code flow beginnings. 2024-07-20 03:25:26 +00:00
3ea982fd43 Implemented core OAuth spec token flows. 2024-07-20 02:25:49 +00:00
1a0456462c More parts of the OAuth2 implementation. 2024-07-19 00:22:47 +00:00
865c48d26d HTTP Skeleton for OAuth2 implementation. 2024-07-17 19:59:03 +00:00
dc363f1854 Finished JWT/JWS implementation. 2024-07-16 22:15:01 +00:00
9fdfa5caa2 Load error page contents in index.php. 2024-06-11 23:04:55 +00:00
06c409d6e8 Oops #2 2024-06-11 22:56:04 +00:00
011c32e202 Oops can't access that at this point yet. 2024-06-11 22:54:24 +00:00
cad2d4c1c5 Static generated error pages. 2024-06-11 22:50:55 +00:00
c52c8c00a5 Removed existing code. 2024-06-11 22:12:41 +00:00
44bbdc243a Updated libraries. 2024-06-11 22:08:58 +00:00
ca523b9ef5 Updated to new HTTP router and replaced database statement cache. 2024-03-29 23:45:32 +00:00
57c4677d52 Fixed error 500 on HTTP error pages. 2023-12-15 02:40:25 +00:00
0a86525c9d Fixed error reporting in Hanyuu. 2023-12-15 02:38:40 +00:00
67d86e4d0b Updated config usage in Hanyuu. 2023-12-15 02:24:24 +00:00
d4a68172f8 Updated Sentry library to 4.0 in Hanyuu. 2023-12-15 01:05:57 +00:00
6bff7d4f28 Bibliotheken bijwerken. 2023-11-20 19:12:43 +00:00
657c567cca Updated libraries Again. 2023-11-20 19:07:12 +00:00
931f65ee35 Updated libraries. 2023-11-20 18:45:59 +00:00
7d5f4a90e9 Project structure cleanup. 2023-10-20 22:11:43 +00:00
7e0218cf6b Give tools execute permission. 2023-10-20 21:39:01 +00:00