pedestal

abdullahibra 2019-11-27T09:54:00.112800Z

hi everyone, is there any reference to how can i add authentication to my pedestal service with other accounts, facebook, google, github for example?

2019-12-02T14:16:18.115100Z

@abdullahibra, 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.

abdullahibra 2019-11-27T09:54:26.113500Z

how should that work on API level not UI level ?

2019-11-27T11:28:02.114800Z

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.