r/Clojure • • Nov 23 '22

Biff tutorial: build a chat app step-by-step

https://biffweb.com/p/tutorial/
71 Upvotes

10 comments sorted by

6

u/mac Nov 23 '22

Such excellent work. Biff appears very practical, approachable and yet powerful. Quite an achievement.

5

u/jacobobryant Nov 23 '22

Thank you, that means a lot!

1

u/mac Nov 27 '22

Very welcome.

7

u/frankieche Nov 23 '22

This is great!

Clojure projects definitely are missing tutorials like this. Thank you!

1

u/jayceedenton Nov 24 '22

Are there any plans for OAuth2/OIDC support in Biff? I love the project but email for sign-in is a bit off-putting in some contexts. I'd love to be able to just use Auth0 with Biff.

3

u/jacobobryant Nov 24 '22

It is on the roadmap: Support more authentication methods

In the mean time, you can always add other authentication methods yourself--Biff shouldn't get in the way at least. The current auth code is included in the template part of Biff, i.e. it's copied into new projects rather than being provided as a library dependency. See these files:

So you can replace that with whatever you need. Even when I do get around to working on authentication again, I'll probably start out by just writing a how-to article anyway, and then add the code into Biff if/when it feels appropriate.

2

u/PicaPaoDiablo Nov 24 '22

Perfect execution. Thank you

2

u/soulhacker Nov 24 '22

Amazing work as always. Would like to let my students try it.