Commit graph

15 commits

Author SHA1 Message Date
339d37937a
Rename OIDC strategy from :rauthy to :oidc, update callback path
- Rename AshAuthentication strategy from :oidc :rauthy to :oidc :oidc;
  generated actions are now register_with_oidc / sign_in_with_oidc.
- Update config keys (:rauthy → :oidc) in dev.exs and runtime.exs.
- Update default_redirect_uri to /auth/user/oidc/callback everywhere.
- Rename Mv.Accounts helper functions accordingly.
- Update Mv.Secrets, AuthController, link_oidc_account_live and all tests.
- Update docker-compose.prod.yml, .env.example, README and docs.

IMPORTANT: OIDC providers must be updated to use the new redirect URI
/auth/user/oidc/callback instead of /auth/user/rauthy/callback.
2026-02-24 11:51:00 +01:00
d37fc03a37 Fix: load OIDC role sync config from ENV in all environments
OIDC_ADMIN_GROUP_NAME and OIDC_GROUPS_CLAIM were only set in prod block;
in dev admin_group was nil so role sync never ran. Move config outside
prod block so dev/test get ENV values.
2026-02-04 18:13:30 +01:00
a6e35da0f7 Add OIDC role sync config (OIDC_ADMIN_GROUP_NAME, OIDC_GROUPS_CLAIM)
Mv.OidcRoleSyncConfig reads from config; runtime.exs overrides from ENV in prod.
2026-02-04 18:13:30 +01:00
e03693ada5
style: fix formatting
All checks were successful
continuous-integration/drone/push Build is passing
2025-12-03 20:51:26 +01:00
f0391d3fef
fix: oidc with authentik not working
Some checks failed
continuous-integration/drone/push Build is failing
2025-12-03 20:34:33 +01:00
1623b63207
fix: resolve review comments
Some checks reported errors
continuous-integration/drone/push Build was killed
2025-12-03 14:27:22 +01:00
d8384098b4
chore: update prod-compose to use file-envs for secrets
All checks were successful
continuous-integration/drone/push Build is passing
2025-12-03 12:38:24 +01:00
ee094eec2f
feat: add file env support for secrets 2025-12-03 12:36:13 +01:00
d3fd4d6c0e
feat: docker-compose prod setup 2025-10-30 20:01:19 +01:00
0334260de5
feat: migration to phoenix 1.8 - merge changed files 2025-07-17 18:01:12 +02:00
bdc250f2d6 fix: session_identifier must be :jti 2025-07-02 17:03:37 +02:00
fba9abc2c1 test(AshAuthentication): updated tests for signed in user and added test for authcontroller 2025-07-02 17:03:37 +02:00
cc51763a6e review(env): shift secret to env file and added logger 2025-07-02 17:03:37 +02:00
dce8fbc232 Add Release scripts & Dockerfile
All checks were successful
continuous-integration/drone/push Build is passing
2025-05-22 02:12:20 +02:00
f2eeb95960
Add generated starter app 2025-03-18 15:05:27 +01:00