Fork me on GitHub
#pedestal
<
2019-11-27
>
abdullahibra09:11:00

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

ddeaguiar14:12:18

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

abdullahibra09:11:26

how should that work on API level not UI level ?

paulspencerwilliams11:11:02

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.