Flow Library
This guide will cover utilizing Descope's flow library to explore flow templates for your application. These flow templates can be used as a baseline when building your flows. The flow library is an excellent tool for exploring use cases and gathering ideas for improving your authentication flow to add more auth methods, security features, etc.
To view Descope's flow library, navigate to the flows section of the Descope
console and click Start from template
.
Navigating the Flow Library
Once you've opened the Descope flow library, you will see an overview like the image below. You can navigate the methods along the left-hand navigation or even search for specific use cases.
Preview a Template
You can preview a template from the flow library by hovering it and clicking the Preview
option.
Once in the template's preview mode, you can zoom in and navigate the flow to see the screens, actions, conditions,
etc. If you want to work with this flow further and test it out, you can click the Use Template
button at the bottom
right as well.
Using a Template
You can use a template from the flow library by hovering it and clicking the Use Template
option, or if in the
preview mode, you can also click the Use Template
button at the bottom right as well.
Customizing a Template
Once you have selected a template, you can set the flow Name,
ID, and
Description. Then, select
Create` to
add the flow to your project.
Now that the flow template has been added to your project as a flow, you can run it within the flow runner to test its functionality and further customize or add more flow screens, actions, and conditions to meet your use case.