I came across this topic on the subject, and it had me wondering if we could do the same but for OIDC users connecting that wouldn’t be through an invite.
I saw @SaraDev’s reply that:
On enterprise, how could this be done?
In a discussion about forcing OIDC users to a specific topic upon first login, jordan-violet referenced a prior topic and asked how to implement this for OIDC users not joining via invite. They mentioned SaraDev’s suggestion to rerun the setup wizard to set a welcome topic, but sought an enterprise solution. pfaffman questioned the purpose of such redirection, proposing instead a theme component that redirects users to a group page (e.g., for agreeing to terms) or a topic based on user data like group membership. jordan-violet clarified their goal: ensuring every new user automatically lands on a curated “getting started” topic at least once. pfaffman offered a practical workaround using the current_user.read_faq flag — redirecting users to /faq until they’ve scrolled to the bottom, effectively marking it as “read” — which could be adapted for other topics. The conversation centers on user onboarding automation for OIDC users without relying on invites, with theme components and user state flags presented as viable technical approaches.
I came across this topic on the subject, and it had me wondering if we could do the same but for OIDC users connecting that wouldn’t be through an invite.
I saw @SaraDev’s reply that:
On enterprise, how could this be done?
What problem is being redirected to a particular topic going to solve?
I sort-of solved a similar problem recently with a theme component that redirected to a group page for users who hadn’t joined a group. You can make the group description something like “by clicking the join button I agree to the privacy terms”.
A similar trick could be used to redirect to a topic using some other available data in the current_user load that you could then get to change.
I suppose I really like the idea of everyone who first joins the community starts at a getting started topic that we can write up as the ideal guide that we want to be sure every user indeed gets directed to, automatically, at least once.
The current_user object includes a read_faq value. In a theme component could redirect all users to the /faq page until they have read that topic. I’m pretty sure that “read” means “scrolled to the bottom of”.