gregrickaby / nextjs-wordpress

💀 It's headless WordPress!
https://nextjswp.com
MIT License
259 stars 54 forks source link

Update auth token for previews #146

Open donnersvensson opened 5 months ago

donnersvensson commented 5 months ago

Hi there,

great work! It helped me a lot to figure out my own headless WP / NextJS project.

I have one question:

How do you update the NEXTJS_AUTH_REFRESH_TOKEN ? Do you have to login to wordpress, go to GraphiQL and create a new one after it expires?

Any hint is appreciated. Thanks, Sven