View Source GlificWeb.EnsurePlug (Glific v5.1.6)
This is a basic plug that ensure the organization is loaded.
To plug it on your router, you can use:
plug GlificWeb.EnsurePlug,
callback: &OrganizationHelper.callback/2
failure_callback: &OrganizationHelper.failure_callback/2
See GlificWeb.EnsurePlugConfig
to check all the allowed config
flags.