Dan M.

Results 54 comments of Dan M.

I had a little time today to create a typescript declaration (d.ts file) for epilogue. I'm not savvy enough yet to know how to turn this into a proper @types/epilogue...

@linktohack , Looks great! Thanks!

Could be caused by the `createPages` handler in [gatsby-node.js](https://github.com/epilande/gatsby-theme-auth0/blob/master/gatsby-theme-auth0/gatsby-node.js): ```js exports.createPages = ({ actions }, options) => { const { createPage } = actions; const { callbackPath } = options;...

Ahh, re-read the docs, and I think I see the problem. The default `callbackPath` is `/auth/callback`, but every other page on my site has a trailing slash, so if I...

@dandv, I didn't have to monkeypatch. It's actually something you can change with a legit setting in gatsby-config. Here's what I have: ```js { resolve: "gatsby-theme-auth0", options: { domain: process.env.AUTH0_DOMAIN,...

1. Interesting that your pages don't have trailing slashes. Are you generating them yourself or letting Gatsby do it for you? I'm doing the latter, and they seem to have...

Not out of the box that I know of but looks like there's a plugin for it: https://www.gatsbyjs.org/packages/gatsby-plugin-remove-trailing-slashes/

@ruiramos Beat me to it :)

Thanks for reviewing. Resolved both your changes 👍

Hey @epilande , Passing the entire options as args would definitely be a more flexible solution. I went with a dedicated method because I thought it would be a lot...