Closed Jexordexan closed 6 years ago
I'm trying to us this module on a secure domain (https://www.my-domain.com), but the redirect uri for the oauth request is set as http://www.my-domain.com/auth/callback. I think the problem is on this line:
https://www.my-domain.com
http://www.my-domain.com/auth/callback
https://github.com/samtgarson/nuxt-oauth/blob/0748fe36aef96b8df8c7f68a5d17f6473af632ff/lib/handler.js#L28
The oauth provider does not allow redirects starting with http://
http://
Good catch! I'll put a fix in when I find time but I'll merge a PR if you want to put one in 👍
Okay, I'll try to post one soon!
I'm trying to us this module on a secure domain (
https://www.my-domain.com
), but the redirect uri for the oauth request is set ashttp://www.my-domain.com/auth/callback
. I think the problem is on this line:https://github.com/samtgarson/nuxt-oauth/blob/0748fe36aef96b8df8c7f68a5d17f6473af632ff/lib/handler.js#L28
The oauth provider does not allow redirects starting with
http://