Fork me on GitHub
#re-frame
<
2018-10-13
>
aaron5101:10:15

Understood. Thank you for the advice @danielstockton & @mikethompson

andrea.crotti11:10:49

how do people do things like oauth2 authentication with re-frame?

andrea.crotti11:10:09

I plugged in ring-oauth2 now and have a button which allows to go through the flow, and in the backend I now have the token available

andrea.crotti11:10:46

I also already added auth checks on the various API calls, but I also need to make the UI behave differently depending if I'm authenticated or not

andrea.crotti11:10:41

should I maybe add an HTTP call to the backend that gets dispatched at page load, and checks if we are currently authenticated?

andrea.crotti11:10:55

or are there any other alternatives?

Bravi12:10:09

is it possible to dynamically update meta tags on my SPA? specifically, social websites meta tags like facebook, twitter etc..

heyarne09:10:43

re-frame is only mounted in body i assume... you could do it as an effect handler maybe. or do you do server-side rendering? then update the template there