📄️ Secrets Management
This document introduces the support for environment variables in the Helium project. The support for environment variables relies on the technology used to build and bundle the Helium application, and is adapted to the technology used to publish the application. Once the Helium application is authenticated, developers can store the environment variables in an ‘.env’ file and reference the variables in ‘Page’ components and their imports. The Helium application lifecycle scripts will take care of parsing and transforming these variables accordingly.
📄️ Comments, Discussion Threads in GraphQL
Fetching Comments on a Video
📄️ Fetching Content with GraphQL
In our admin experience we offer several different content types: Courses, Videos, Blogs, Scorms, Articles, and more. Although these objects are presented differently, on the backend many of them overlap. It’s important to understand how content data is structured so that you can fetch the appropriate data with our GraphQL API.
📄️ Single Sign On
Accomodating Single Sign On within your Helium project is simple as adding a button, hook, or action that will send the user to your Provider's login page. After successfuly logging in via your Provider, the user will be sent to the returnTo url as specified by your Provider or by the query parameters included in your request.
📄️ Working with the Quiz Object
There’s more moving pieces with a quiz then compared to fetching a text page for example. With a quiz, you have to both fetch data and then allow the user to send data back in the form of a quiz submission. We’ll walk you through the various API calls you’ll need to use do that here.