chore: rename cameleer3 to cameleer
Rename Java packages from com.cameleer3 to com.cameleer, module directories from cameleer3-* to cameleer-*, and all references throughout workflows, Dockerfiles, docs, migrations, and pom.xml. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
## Context
|
||||
|
||||
Cameleer3 Server uses Authentik as its OIDC provider for external identity federation. The SaaS platform (cameleer-saas) has adopted Logto as its identity provider. To align the stack:
|
||||
Cameleer Server uses Authentik as its OIDC provider for external identity federation. The SaaS platform (cameleer-saas) has adopted Logto as its identity provider. To align the stack:
|
||||
|
||||
1. **Replace Authentik with Logto** — self-hosted Logto in the K8s cluster, replacing the Authentik deployment
|
||||
2. **Add OIDC resource server support** — the server must accept Logto access tokens (asymmetric JWT, ES384) in addition to its own internal HMAC JWTs, so the SaaS platform can call server APIs using M2M tokens
|
||||
@@ -43,7 +43,7 @@ Self-hosted Logto deployment:
|
||||
## Part 2: Server — OIDC Resource Server Support
|
||||
|
||||
### Change 1: Add dependency
|
||||
**File:** `cameleer3-server-app/pom.xml`
|
||||
**File:** `cameleer-server-app/pom.xml`
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
@@ -53,7 +53,7 @@ Self-hosted Logto deployment:
|
||||
```
|
||||
|
||||
### Change 2: Add OIDC properties
|
||||
**File:** `cameleer3-server-app/src/main/resources/application.yml`
|
||||
**File:** `cameleer-server-app/src/main/resources/application.yml`
|
||||
|
||||
```yaml
|
||||
security:
|
||||
@@ -196,7 +196,7 @@ Update PUT handler default: `rolesClaim` from `realm_access.roles` to `roles`.
|
||||
| `deploy/authentik.yaml` | Delete |
|
||||
| `deploy/logto.yaml` | Create |
|
||||
| `.gitea/workflows/ci.yml` | Modify (Authentik -> Logto) |
|
||||
| `cameleer3-server-app/pom.xml` | Modify (add dependency) |
|
||||
| `cameleer-server-app/pom.xml` | Modify (add dependency) |
|
||||
| `application.yml` | Modify (add OIDC properties) |
|
||||
| `SecurityProperties.java` | Modify (add fields) |
|
||||
| `SecurityConfig.java` | Modify (build decoder, pass to filter) |
|
||||
|
||||
Reference in New Issue
Block a user