Evan Goode
8333d501d8
Allow password Minecraft auth when RegistrationOIDC configured
2025-03-23 14:00:03 -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
141db389ea
Update wiki.vg links to minecraft.wiki
2024-12-28 23:23:20 -05:00
Evan Goode
39ea78a5eb
auth: respect requestUser even if no selectedProfile
2024-12-28 21:07:32 -05:00
Evan Goode
568aab84f6
Test authentication multiple profiles
2024-12-28 21:07:32 -05:00
Evan Goode
b034fd5a51
availableProfiles, selectedProfile
2024-12-28 21:07:32 -05:00
Evan Goode
faec464a4e
Most Front tests passing
2024-12-28 21:07:32 -05:00
Evan Goode
f58ce99eae
Initial changes to support multiple players per user
2024-12-28 21:07:32 -05:00
Evan Goode
8f1a87aa1a
More API routes and refactoring
2024-08-15 12:33:59 -04:00
Evan Goode
f7ad78d8e9
refactor: CreateUser
2024-08-15 12:33:59 -04:00
Evan Goode
c4384759dc
Have InvalidateUser take a transaction
2024-06-27 12:47:18 -04:00
Evan Goode
39e700a3f0
Allow duplicate client tokens
2024-05-23 16:57:49 -04:00
Evan Goode
dc79d4dafc
auth: Fix client version not getting persisted
...
Gorm won't save changes to associated objects unless you use a
gorm.Session with FullSaveAssociations: true.
2024-04-28 22:49:50 -04:00
Evan Goode
c5af033ca4
Fix AnonymousLogin, rename to TransientUsers
2023-08-20 02:15:04 +00:00
Evan Goode
3456e33085
Switch from 32-character hex accessTokens to JWTs
2023-08-20 02:15:04 +00:00
Evan Goode
fecd6e5daf
Mostly cleanup, error handling, authlib-injector fixes
2023-07-28 16:33:45 -04:00
Evan Goode
7d5bab6e88
some services tests
2023-07-26 23:49:37 -04:00
Evan Goode
959fdfffb3
typo: Umojang -> Unmojang
2023-07-25 21:04:23 -04:00
Evan Goode
1171d4024f
Session server tests
2023-07-23 15:31:39 -04:00
Evan Goode
6405e36db7
Tests for authserver
2023-07-22 18:51:20 -04:00
Evan Goode
22d5f3525d
initial work on invites, admin page
2023-07-06 02:38:03 +00:00
Evan Goode
7b8411d69d
Actually do authentication :D
2023-07-02 13:27:23 -04:00
Evan Goode
bbffae71f7
configuration.md
2023-06-25 15:32:24 -04:00
Evan Goode
cd70c83be0
/publickeys for 1.20
2023-06-16 18:02:26 -04:00
Evan Goode
9eceefbde9
optionally disable token expiry
2023-06-14 00:13:24 -04:00
Evan Goode
ada118546f
initial support for authlib-injector
2023-06-03 23:16:42 -04:00
Evan Goode
955e42b1f3
Allow listening as one single server rather than five
2023-05-17 23:19:27 -04:00
Evan Goode
4a6c1bba11
Error handling cleanup
2023-04-06 00:28:29 -04:00
Evan Goode
5814a43caf
A couple more tests
2023-04-06 00:08:24 -04:00
Evan Goode
5318882aef
optionally sign public keys
2023-03-31 21:25:44 -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