This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-27
Channels
- # announcements (2)
- # babashka (60)
- # beginners (73)
- # calva (23)
- # cider (2)
- # clj-kondo (19)
- # cljs-dev (31)
- # clojure (29)
- # clojure-berlin (1)
- # clojure-europe (6)
- # clojure-nl (17)
- # clojure-spec (21)
- # clojure-uk (15)
- # clojurescript (54)
- # core-async (48)
- # cursive (35)
- # datomic (12)
- # emacs (12)
- # fulcro (66)
- # graalvm (3)
- # graphql (16)
- # jackdaw (1)
- # malli (1)
- # off-topic (11)
- # pedestal (4)
- # re-frame (10)
- # reitit (1)
- # rewrite-clj (8)
- # ring-swagger (8)
- # shadow-cljs (14)
- # spacemacs (2)
- # vim (5)
hi everyone, is there any reference to how can i add authentication to my pedestal service with other accounts, facebook, google, github for example?
@U145X0BPE, you may find the buddy-auth sample useful (https://github.com/pedestal/pedestal/tree/master/samples/buddy-auth). Building out a Pedestal-based service involves creating interceptors which add capabilities your app needs. In this case, you’ll add an interceptor which handles your auth needs.
how should that work on API level not UI level ?
I couldn't find any, but perhaps Google for OAuth2 / OpenId Connect with pedestal, as that's the protocol they use. Also, if only interested in services, you only need to research the 'Resource Server' area of this problem.