Commit graph

19 commits

Author SHA1 Message Date
Pat Hartl
f1fa66b632 Improve advanced auth provider editing, add role claim mapping
- Added auto discovery of scopes and claim mappings to auth provider editor
- Added the ability to map claims to roles
- Auto-provision users logged in over external auth

Ref #411
2026-06-21 02:03:51 -05:00
Pat Hartl
814d0b3395 Add "Allow Registration" setting to server
Fixes #408
2026-06-14 21:46:29 -05:00
Pat Hartl
d17c93a367 Avoid crashing if auth provider templates don't exist 2026-02-16 19:34:59 -06:00
Pat Hartl
4474164e9b Split ScriptClient into partials 2026-02-10 17:34:35 -06:00
Pat Hartl
256b46e823 Fix storage of authentication token 2025-11-19 00:36:03 -06:00
Pat Hartl
add770b227 Refactor Settings
Settings for the server are now combined with the settings from the SDK. This introduces a large breaking change and a migration should be created. This refactor utilizes .NET Configuration and the Options pattern. This will allow for the overriding of any setting using envionment variables. It also means that Settings.yml can be used to override any .NET configuration. A SettingsProvider implementation was created, and any updating of settings was changed from SettingsService.SaveSettings() to SettingsProvider.Update(s => { ... })
2025-11-16 12:31:25 -06:00
Pat Hartl
d875377f15 Rename SDK services -> clients, implement new configuration, use dependency injection for clients 2025-09-24 20:58:23 -05:00
RattleSN4K3
8d0864e01c Handle errors with specific exceptions, provide error response with message for clients 2025-06-22 01:33:03 +02:00
RattleSN4K3
83f453851f Prevent user account creation if the password does not meet the required criteria 2025-06-22 01:33:03 +02:00
RattleSN4K3
a387202d00 Support old clients with legacy register workflow (with no password confirmation) 2025-04-24 01:39:08 +02:00
Pat Hartl
cef428acc1 Optimize UserService queries, cache user roles, clean up UserService 2025-02-08 12:32:54 -06:00
Pat Hartl
e9e5bc096d Move registration to AuthenticationService, add scripts for UserLogin and UserRegistration 2025-02-04 18:45:24 -06:00
Pat Hartl
af08645396 Remove use of DatabaseServiceFactory, update service dependency injection 2025-02-01 02:21:34 -06:00
Pat Hartl
46b60dfa9b Include user ID in JWT 2025-01-19 13:57:29 -06:00
Pat Hartl
e6301fb4ba Get authentication providers via API 2025-01-03 00:55:22 -06:00
Pat Hartl
78dbcdfd6c Fix auth service 2025-01-01 21:12:07 -06:00
Pat Hartl
8ac25adf61 Provide route to get API token using authentication provider 2025-01-01 19:24:35 -06:00
Pat Hartl
98c0d276b0 Support OAuth as well as OIDC
- Rename ExternalProvider to AuthenticationProvider
- Add enum for authentication provider type (OAuth, SAML, OIDC, etc)
- Add claim mappings
- Move authentication provider registration to extension methods
2024-12-28 05:23:23 -06:00
Pat Hartl
11e182413d Add ability to define external authentication providers 2024-12-28 03:48:15 -06:00