gatsby-theme-sciduct
v1.0.0
Published
This Theme automatically provide a callback page for app authentication.
Downloads
4
Readme
SciDuct Auth Theme for Gatsby
This Theme automatically provide a callback page for app authentication.
Quick Start
mkdir my-site
cd my-site
yarn init
# install gatsby-theme-sciduct and it's dependencies
yarn add gatsby-theme-sciduct
Then add the theme to your gatsby-config.js
. We'll use the long-form
here for educational purposes.
module.exports = {
plugins: [
{
resolve: "gatsby-theme-sciduct",
options: {
"sciduct_application_id": "your app id",
"sciduct_userservice_url": "Optional url to sciduct user service",
"sciduct_callback_path": "The path to generate for the callback, defaults to /auth/callback"
},
},
],
}