Open youngseo-im opened 1 year ago
Sorry, I'll edit the question.
After modifying the settings in nuxt.config.js like this, I don't get the error I posted above. Instead, it doesn't renew the token when it expires, what should I do?
Hi!
Take a look at this scheme https://auth.nuxtjs.org/schemes/refresh I believe it's because the local scheme does not implement a refresh logic. Also by looking at endpoints, it does not have a configuration for the refresh endpoint.
However looking at the endpoints, it seems like oauth2 which would be https://auth.nuxtjs.org/schemes/oauth2
If you have to implement your own strategy there is documentation for this as well https://auth.nuxtjs.org/guide/scheme#creating-your-own-scheme
I'm using cognito and nuxt-auth in a nuxt2 project
I want to apply a custom UI instead of the login UI provided by AWS, so I implemented login using aws-apmlify package, but the token is not renewed, how should I configure nuxt.config.js?
I didn't configure amplify with the CLI because it only requires authentication during the aws-amplify service.
// current nuxt.config.js
// current Login Page
// Request URL and error message