File tree 4 files changed +34
-26
lines changed
4 files changed +34
-26
lines changed Original file line number Diff line number Diff line change 2
2
" resources"
3
3
" target/webly" ]
4
4
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 " }
7
7
org.pinkgorilla/ui-tailwind {:mvn/version " 0.1.8" }
8
8
org.pinkgorilla/oauth2 {:local/root " ../" :deps/manifest :deps }
9
9
nrepl/nrepl {:mvn/version " 1.2.0" }}
Original file line number Diff line number Diff line change 26
26
(clip/ref :permission )
27
27
(clip/ref :exts ))}
28
28
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
-
38
29
:identity {:start (token.identity.service/start-identity-service
39
30
{:permission (clip/ref :permission )
40
31
:clj (clip/ref :clj-service )
41
32
:secret " AbHzj834ri9" })}
42
33
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
-
55
34
:oauth2 {:start (token.oauth2.service/start-oauth2-service
56
35
{:clj (clip/ref :clj-service )
57
36
:providers (:oauth2 (:token (deref (clip/ref :config ))))
60
39
:store-role nil ; #{}
61
40
})}
62
41
63
-
64
42
:webly {:start (webly.app.app/start-webly
65
43
(clip/ref :exts )
66
44
(deref (clip/ref :config ))
Original file line number Diff line number Diff line change
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
+ }}
Original file line number Diff line number Diff line change 26
26
; clj-oauth/clj-oauth {:mvn/version "1.5.2"}; copied over from REST
27
27
; pink-gorilla dependencies
28
28
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
31
30
}
32
31
33
32
:aliases
You can’t perform that action at this time.
0 commit comments