Skip to content

Commit 97988d0

Browse files
author
awb99
committed
dep bumps
1 parent 33914db commit 97988d0

File tree

4 files changed

+34
-26
lines changed

4 files changed

+34
-26
lines changed

demo/deps.edn

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"resources"
33
"target/webly"]
44

5-
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
6-
org.pinkgorilla/webly {:mvn/version "0.6.692"}
5+
:deps {org.clojure/clojure {:mvn/version "1.11.3"}
6+
org.pinkgorilla/webly {:mvn/version "0.7.693"}
77
org.pinkgorilla/ui-tailwind {:mvn/version "0.1.8"}
88
org.pinkgorilla/oauth2 {:local/root "../" :deps/manifest :deps}
99
nrepl/nrepl {:mvn/version "1.2.0"}}

demo/resources/demo-services.edn

-22
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,11 @@
2626
(clip/ref :permission)
2727
(clip/ref :exts))}
2828

29-
#_:identity/local #_{:start (token.identity.local/start-local-identity
30-
{:permission (clip/ref :permission)
31-
:clj (clip/ref :clj-service)
32-
:secret "AbHzj834ri9"})}
33-
34-
#_:identity/oidc #_{:start (token.identity.oidc/start-oidc-identity
35-
{:permission (clip/ref :permission)
36-
:clj (clip/ref :clj-service)})}
37-
3829
:identity {:start (token.identity.service/start-identity-service
3930
{:permission (clip/ref :permission)
4031
:clj (clip/ref :clj-service)
4132
:secret "AbHzj834ri9"})}
4233

43-
#_:oauth2/token-store #_{:start (token.oauth2.store/create-store {:clj (clip/ref :clj-service)
44-
:store-path ".webly/tokenstore"
45-
:store-role nil ; #{}
46-
})}
47-
48-
#_:oauth2 #_{:start (token.oauth2.core/start-oauth2-providers
49-
{:clj (clip/ref :clj-service)
50-
:store (clip/ref :oauth2/token-store)
51-
:providers (:oauth2 (:token (deref (clip/ref :config))))
52-
;:providers {:google {:client-id "" :client-secret ""}}
53-
})}
54-
5534
:oauth2 {:start (token.oauth2.service/start-oauth2-service
5635
{:clj (clip/ref :clj-service)
5736
:providers (:oauth2 (:token (deref (clip/ref :config))))
@@ -60,7 +39,6 @@
6039
:store-role nil ; #{}
6140
})}
6241

63-
6442
:webly {:start (webly.app.app/start-webly
6543
(clip/ref :exts)
6644
(deref (clip/ref :config))

demo/resources/dev-services.edn

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{:modular (modular.system/modular-env) ; {:profile "jetty" :config ["demo.edn" "secrets.edn"]}
2+
;:secrets #include "secrets.edn" ;; externalised and usually "mounted" as a docker/kubernetes secret
3+
:components
4+
{
5+
6+
; a list of services that in demo-serivces are bundled.
7+
; useful for debugging (currently not used)
8+
9+
:identity/local {:start (token.identity.local/start-local-identity
10+
{:permission (clip/ref :permission)
11+
:clj (clip/ref :clj-service)
12+
:secret "AbHzj834ri9"})}
13+
14+
:identity/oidc {:start (token.identity.oidc/start-oidc-identity
15+
{:permission (clip/ref :permission)
16+
:clj (clip/ref :clj-service)})}
17+
18+
:oauth2/token-store {:start (token.oauth2.store/create-store {:clj (clip/ref :clj-service)
19+
:store-path ".webly/tokenstore"
20+
:store-role nil ; #{}
21+
})}
22+
23+
:oauth2 {:start (token.oauth2.core/start-oauth2-providers
24+
{:clj (clip/ref :clj-service)
25+
:store (clip/ref :oauth2/token-store)
26+
:providers (:oauth2 (:token (deref (clip/ref :config))))
27+
;:providers {:google {:client-id "" :client-secret ""}}
28+
})}
29+
30+
;
31+
}}

deps.edn

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
; clj-oauth/clj-oauth {:mvn/version "1.5.2"}; copied over from REST
2727
; pink-gorilla dependencies
2828
org.pinkgorilla/modular {:mvn/version "0.2.56"} ; for edn saving (with time formats encoding added)
29-
org.pinkgorilla/clj-service {:mvn/version "0.3.18"} ; brings permission + websocket
30-
org.pinkgorilla/permission {:mvn/version "0.2.19"} ; force higher version of permission (clj-service is outdated)
29+
org.pinkgorilla/clj-service {:mvn/version "0.3.20"} ; brings permission + websocket
3130
}
3231

3332
:aliases

0 commit comments

Comments
 (0)