Commit graph

46 commits

Author SHA1 Message Date
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
db6821dedf Use config library and moved templates to Sasae format. 2023-10-20 21:38:13 +00:00
514e0068a2 Updated to PHP 8.2 and use Composer for Index. 2023-10-18 10:40:21 +00:00
bda2b11eb5 Removed Index submodule. 2023-10-18 10:36:20 +00:00
caeb4af8ef Backlogged things. 2023-10-18 10:34:30 +00:00
d9e175699e Basic structure for user tables. 2023-01-09 21:44:34 +00:00
5e35ccaf55 Imported templating engine from flash.moe. 2023-01-09 00:02:23 +00:00
d47cdf47ef Made the ID bit not implicit. 2023-01-07 17:49:52 +00:00
07ad8bd721 Added database migration tools. 2023-01-07 04:36:22 +00:00
2c61a3b7f5 Actually populate the example config. 2023-01-06 22:20:45 +00:00
bb9d7d4058 Added some boilerplate code to Hanyuu. 2023-01-06 22:20:13 +00:00
594c92179b Display the correct name in the title. 2022-07-04 18:20:13 +00:00
1ef8c6edab Initial import. 2022-07-04 16:58:41 +00:00