I have set up the plugin according to the docs: https://medusa-plugins.vercel.app/authentication/google, however when trying to log in with an admin via google, it tells me the user already exists.
When I log the strategyNames at the comparison of the validateAdminCallBack method, it tells me the strategyNames are undefined.
All the other strategyNames are defined, expect for the Google strategyNames.
{
auth0: {
admin: 'auth0.admin.medusa-auth-plugin',
store: 'auth0.store.medusa-auth-plugin'
},
facebook: {
admin: 'facebook.admin.medusa-auth-plugin',
store: 'facebook.store.medusa-auth-plugin'
},
google: { admin: undefined, store: undefined },
linkedin: {
admin: 'linkedin.admin.medusa-auth-plugin',
store: 'linkedin.store.medusa-auth-plugin'
},
firebase: {
admin: 'firebase.admin.medusa-auth-plugin',
store: 'firebase.store.medusa-auth-plugin'
},
azure_oidc: {
admin: 'azure-oidc.admin.medusa-auth-plugin',
store: 'azure-oidc.store.medusa-auth-plugin'
}
}