23 Commits

Author SHA1 Message Date
Evan Goode
cec6d6828c Dependency version bumps 2025-03-29 18:41:12 -04:00
Evan Goode
1f4b46b11a Release notes for 3.0.0 2025-03-22 18:51:33 -04:00
Evan Goode
5c1f6c1cfa
Implement SSO via OIDC (#127)
Resolves https://github.com/unmojang/drasl/issues/39

* Use __Host- cookie prefix instead of setting Domain

See https://stackoverflow.com/a/64735551

* Unlinking OIDC accounts

* AllowPasswordLogin, OIDC docs, cleanup

* YggdrasilError

* Migrate existing password users without login

* API query/create/delete user OIDC identities

* test APICreateOIDCIdentity

* test APIDeleteeOIDCIdentity

* API Create users with OIDC identities

* OIDC: PKCE

* Use YggdrasilError in authlib-injector routes

* OIDC: AllowChoosingPlayerName

* recipes.md: Update for OIDC and deprecated config options

* OIDC: fix APICreateUser without password, validate oidcIdentities

* OIDC: error at complete-registration if no preferred player name

* Proper error pages

* MC_ prefix for Minecraft Tokens
2025-03-22 16:40:26 -04:00
Evan Goode
0b7264230c Merge remote-tracking branch 'upstream/master' into next 2025-03-02 16:27:22 -05:00
dependabot[bot]
13ed66f735
Bump golang.org/x/net from 0.23.0 to 0.33.0 (#129)
* Bump golang.org/x/net from 0.23.0 to 0.33.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.23.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.23.0...v0.33.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update vendorHash

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Goode <mail@evangoo.de>
2025-01-16 01:42:42 +00:00
Evan Goode
4fca7cc8e4 Add deprecation message to /drasl/api/v1/* routes 2024-12-28 21:07:32 -05:00
Evan Goode
2dab34440b Fix 3->4 DB migration, DB migration tests 2024-12-28 21:07:32 -05:00
Evan Goode
140ec8bd2e Don't host swag docs 2024-08-15 12:33:59 -04:00
Evan Goode
65a5c5aff8 API Delete user 2024-08-15 12:33:59 -04:00
Evan Goode
c70e266d57 Start implementing Drasl API 2024-08-15 12:33:59 -04:00
Evan Goode
630144bd3a Bump net/http 2024-04-21 00:01:56 -04:00
Evan Goode
365d37d729 Update insecure dependencies, bump to 1.0.2 2023-12-21 10:45:44 -05:00
Evan Goode
e8537ea54c OfflineSkins, also fix several skin issues 2023-11-10 20:19:07 -05:00
Evan Goode
3456e33085 Switch from 32-character hex accessTokens to JWTs 2023-08-20 02:15:04 +00:00
Evan Goode
7665b2129d Add configurable body size limit
Closes #13
2023-07-08 23:30:30 -04:00
Evan Goode
aff083e652 remove go-funk 2023-07-06 02:38:03 +00:00
Evan Goode
0d53fa95e7 add profile pic to admin view 2023-07-06 02:38:03 +00:00
Evan Goode
22d5f3525d initial work on invites, admin page 2023-07-06 02:38:03 +00:00
Evan Goode
ee701eac6e Cache certain responses from fallback API servers 2023-06-26 23:58:14 -04:00
Evan Goode
c5dcb4abfb dependency cleanup 2023-05-06 00:39:41 -04:00
Evan Goode
7f50a977ed Start writing tests 2023-03-19 23:00:37 -04:00
Evan Goode
6ba5367620 Configurable registration policy, anonymous login 2023-03-18 23:26:54 -04:00
Evan Goode
8d56b40c8f MVP 2022-08-19 00:02:45 -04:00