Closed luluhoc closed 6 months ago
@adrien2p
I suggest you to look at this one https://discord.com/channels/876835651130097704/1192132522285469715 i ve already provided a solution 😊
I suggest you to look at this one https://discord.com/channels/876835651130097704/1192132522285469715 i ve already provided a solution 😊
oh, thanks it's working now
@adrien2p I cannot see the link. It somehow doesn't load. Could you please share the solution here?
It is here https://discord.com/channels/876835651130097704/1192132522285469715 this doesn't open?
you can use the 1.9.1 the options looks like this
{
resolve: "medusa-plugin-auth",
/** @type {import('medusa-plugin-auth')} */
options: [{
type: "google",
identifier: "google",
clientID:
"...",
clientSecret: "...",
admin: {
callbackUrl: "http://localhost:9000/admin/auth/google/cb",
failureRedirect: "http://localhost:7001/login",
successRedirect: "http://localhost:7001/",
authPath: "/admin/auth/google",
authCallbackPath: "/admin/auth/google/cb",
},
store: {
callbackUrl: "http://localhost:9000/store/auth/google/cb",
failureRedirect: "http://localhost:8000/account/login",
successRedirect: "http://localhost:8000/",
authPath: "/store/auth/google",
authCallbackPath: "/store/auth/google/cb",
},
},
{
type: "facebook",
identifier: "facebook",
clientID: "...",
clientSecret: "...",
admin: {
callbackUrl: "http://localhost:9000/admin/auth/facebook/cb",
failureRedirect: "http://localhost:7001/login",
successRedirect: "http://localhost:7001/",
authPath: "/admin/auth/facebook",
authCallbackPath: "/admin/auth/facebook/cb",
},
}],
},
Somehow the discord link won't open for me. Thanks for sharing here. I guess it's better here, too.
I'm getting this error i'm using medusa 1.19
my config