Announcements
Share product updates, planned maintenance, and other news with your users without releasing a new version of your application.
Creating an Announcement
- Go to Announcements in your dashboard.
- Click Add announcement.
- Add a title and format the content.
- Choose a status and publication window.
- Save the announcement.
The content is sent to your application as HTML.
Visibility
- Draft announcements are never sent to users.
- Published announcements are sent immediately, unless scheduled for later.
- Archived announcements are no longer sent to users.
Choose Always to keep a published announcement available indefinitely. Choose Scheduled to set a start time and, optionally, an end time. Scheduled times use the timezone configured in Settings.
Showing Announcements in C++
Published announcements are included in the app context while they are visible:
authgate::AppContext context = client.get_app_context();
for (const auto& announcement : context.announcements) {
std::cout << announcement.title << std::endl;
std::cout << announcement.content_html << std::endl;
}Your application decides where and how to display the HTML content. Call get_app_context() again when you want to refresh announcements; they are not pushed to an application that is already running.
Announcements are available to every caller that can access the app context, including anonymous users when Anonymous Access is enabled. Do not include secrets or private information.