conventionByOauthReturnIfPresent
Returns the convention associated with the current OAuth sign-in flow, if any. Parses the
redirect_uri from the stored OAuth return URL in the session to determine which convention
the user is signing into. Useful on the root-domain sign-in page where
conventionByRequestHostIfPresent returns null.
conventionByOauthReturnIfPresent: Convention
Type
Convention object
A Convention in Intercode is essentially a web site hosted by Intercode. A Convention can represent an actual, real-world convention (and this is probably the most common use case), but it can also represent a single event (if the site_mode is set to single_event) or a series of events over time (if the site_mode is set to event_series).
They're called Convention for historical reasons, because naming is hard. Sorry. It's probably best to think of them as "web site."