stuff
Some checks failed
/ non-lab (push) Failing after 1m56s

This commit is contained in:
Chris Cowley 2025-04-02 14:31:04 +00:00
parent ca415c6959
commit 5be4f93de5
4 changed files with 44 additions and 2 deletions

View file

@ -1,3 +1,23 @@
#resource "authentik_provider_proxy" "chat" {
# name = "Chat"
# internal_host = "http://open-webui.ollama:8080"
# external_host = "https://chat.lab.cowley.tech"
#
# internal_host_ssl_validation = false
#
# authentication_flow = data.authentik_flow.default-authentication-flow.id
# authorization_flow = data.authentik_flow.default-provider-authorization-implicit-consent.id
# invalidation_flow = data.authentik_flow.default-provider-invalidation-flow.id
#
# access_token_validity = "hours=24"
#}
#
#resource "authentik_application" "chat" {
# name = "Chat"
# slug = "chat"
#
# protocol_provider = authentik_provider_proxy.chat.id
#}
resource "random_id" "chat_client_id" {
byte_length = 16
@ -8,7 +28,8 @@ resource "random_id" "chat_secret_key" {
resource "authentik_provider_oauth2" "chat" {
name = "Chat"
client_id = random_id.chat_client_id.id
#client_id = random_id.chat_client_id.id
client_id = "2VbXTsFUJV5fgrRJTeQ"
authentication_flow = data.authentik_flow.default-authentication-flow.id
authorization_flow = data.authentik_flow.default-provider-authorization-implicit-consent.id
invalidation_flow = data.authentik_flow.default-invalidation-flow.id