Customize authenticated actions

Currently my team’s setup is using OAuth (with Auth0) for authenticating - however we have a separate signup form that we need to display when authenticated actions are clicked (ie: reply, get access, etc).

Is there a centralized way to do this?

Additionally, what is the best way to access the current user in Javascript (if possible - if not, what is the next best way)?