mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
🐛 Fix issue with oidc autodiscover
This commit is contained in:
parent
b46b23b027
commit
aaf332ed18
2 changed files with 1 additions and 17 deletions
|
@ -50,7 +50,7 @@
|
|||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defn- discover-oidc-config
|
||||
[cfg {:keys [::base-uri] :as opts}]
|
||||
[cfg {:keys [base-uri] :as opts}]
|
||||
(let [discovery-uri (u/join base-uri ".well-known/openid-configuration")
|
||||
response (ex/try! (http/req! cfg
|
||||
{:method :get :uri (str discovery-uri)}
|
||||
|
|
|
@ -80,22 +80,6 @@ services:
|
|||
- 9000:9000
|
||||
- 9001:9001
|
||||
|
||||
# keycloak:
|
||||
# image: "quay.io/keycloak/keycloak:15.0.2"
|
||||
# environment:
|
||||
# - DB_VENDOR=POSTGRES
|
||||
# - DB_ADDR=postgres
|
||||
# - DB_DATABASE=keycloak
|
||||
# - DB_USER=keycloak
|
||||
# - DB_SCHEMA=public
|
||||
# - DB_PASSWORD=keycloak
|
||||
# - KEYCLOAK_USER=admin
|
||||
# - KEYCLOAK_PASSWORD=admin
|
||||
# expose:
|
||||
# - '8080'
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
|
||||
postgres:
|
||||
image: postgres:15
|
||||
command: postgres -c config_file=/etc/postgresql.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue