Skip to content

Commit

Permalink
Apply changes to the deployment config to support hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
thesocialdev committed Feb 11, 2025
1 parent f43b1c5 commit d81406a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
schema_id: ALETHEIA_SCHEMA_ID
hydra:
url: ORY_SDK_URL
# When using the cloud, the endpoint should be "api/hydra/admin".
# When using the cloud, the endpoint should be "admin".
admin_endpoint:
feature_flag:
url: GITLAB_FEATURE_FLAG_URL
Expand Down
3 changes: 3 additions & 0 deletions deployment/config/config-file/modules/main.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ hidden var = new {
}
ory = (oryConfig) {
admin_endpoint = "admin"
hydra = new {
admin_endpoint = "admin"
}
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions deployment/config/config-file/modules/ory.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ admin_url = read("env:ORY_SDK_URL")
admin_endpoint: String
access_token = read("env:ORY_ACCESS_TOKEN")
schema_id = read("env:ALETHEIA_SCHEMA_ID")
hydra = new {
url: read("env:ORY_SDK_URL")
admin_endpoint: String
}

0 comments on commit d81406a

Please sign in to comment.