adrien2p / medusa-plugins

A collection of awesome plugins for medusa :rocket:
https://medusa-plugins.vercel.app
MIT License
157 stars 46 forks source link

Google Auth login get "Missing required parameter: scope Learn more about this error" #158

Closed yunfengsay closed 6 months ago

yunfengsay commented 6 months ago

image image Where should I config scope ?

adrien2p commented 6 months ago

the scope is not configurable, it looks more like miss usage to me, can you comment your verify callback if there is not custom implementation, also, what url is your client calling when you click your button to login with google?

yunfengsay commented 6 months ago

the scope is not configurable, it looks more like miss usage to me, can you comment your verify callback if there is not custom implementation, also, what url is your client calling when you click your button to login with google?

You are right, I had set error url for my login button, the url before is /store/auth/google/cb , but the correct is /store/auth/google . After I removed /cb , it works well now.