mirror of
https://github.com/penpot/penpot.git
synced 2025-07-02 09:07:31 +02: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)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue