From 6fe47c69d78533cd24017950fceb079737396737 Mon Sep 17 00:00:00 2001 From: Gmo Quinteros Date: Fri, 9 Apr 2021 01:55:18 -0400 Subject: [PATCH] Update index.js I think the `scheme` option is not being overwritten correctly on the line 7, to make your schema work I had to overwrite it in nuxt.config.js. from : this.options.auth.strategies.cognito._scheme to : this.options.auth.strategies.cognito.scheme --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5b9b607..daf77ca 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,7 @@ module.exports = function() { this.options.auth.strategies = this.options.auth.strategies || {}; this.options.auth.strategies.cognito = this.options.auth.strategies.cognito || {}; - this.options.auth.strategies.cognito._scheme = + this.options.auth.strategies.cognito.scheme = "@sirdiego/nuxt-auth-cognito-scheme/CognitoAuthScheme"; };