This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-22
Channels
- # announcements (4)
- # babashka (10)
- # beginners (25)
- # biff (4)
- # calva (22)
- # clj-on-windows (3)
- # clj-otel (1)
- # clojure (17)
- # clojure-europe (5)
- # clojure-gamedev (2)
- # clojure-norway (1)
- # clojurescript (21)
- # conjure (5)
- # core-async (3)
- # defnpodcast (1)
- # deps-new (8)
- # events (3)
- # graalvm (10)
- # graphql (4)
- # gratitude (2)
- # hyperfiddle (7)
- # introduce-yourself (4)
- # jobs (1)
- # membrane (9)
- # pedestal (5)
- # quil (2)
- # re-frame (7)
- # releases (2)
- # rewrite-clj (14)
- # shadow-cljs (8)
- # tools-deps (5)
I have an integration in my SPA with a 3rd party security provider (OKTA) which makes a callback on localhost:8000/login/callback?blah=blahdeblah
how does shadow resolve this? It does and it's very nice, just interested in the mechanisms for how to set up my actual server 🙂
the server just needs to send the regular "index.html" content you'd get on localhost:8000
. I assume you have the CLJS routing setup to handle the rest?
1
this handles it in shadow-cljs specifically https://github.com/thheller/shadow-cljs/blob/bd16408a7a60f75aaa14f1be576d38d536ebd639/src/main/shadow/http/push_state.clj#L10