Closed s-oosato closed 1 year ago
refresh: { url: '/auth/refresh', method: 'post' },
Changed as above.
I expected refresh_token to be included in the Authorization header, but it seems to be included in the request body. Changed to refer to the request body in server-side processing.
I'm sorry if there are any mistakes because my native language is not English. I'm using this module with the configuration below, but when I run auth/rerfresh it's requesting using the access_token. I get the Authorization header on the server side, and when I decode the JWT, the content is access_token. I am assuming that with this module, when the access_token expires, it will set the refresh_token in the Authorization header and run api/auth/refresh.
Please let me know if there are any mistakes