Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix auth-routes-builder.ts using google specifics #43

Closed
adrien2p opened this issue Jan 12, 2023 · 0 comments
Closed

fix auth-routes-builder.ts using google specifics #43

adrien2p opened this issue Jan 12, 2023 · 0 comments

Comments

@adrien2p
Copy link
Owner

@adrien2p in 9ead4c9#diff-2bd386bf42efcc87b13fc16c223b031bd923cd992e5a279976ceaf80c23d4ba0 we added this block to auth-routes-builder.ts

		passport.authenticate(GOOGLE_ADMIN_STRATEGY_NAME, {
			failureRedirect,
			session: false,
		}),

This is giving an error when testing this PR because passport is authenticating with the GOOGLE_ADMIN_STRATEGY_NAME instead of the auth0 one. Am I misreading this?

Originally posted by @Arsenalist in #27 (comment)

@adrien2p adrien2p changed the title @adrien2p in https://github.com/adrien2p/medusa-plugins/commit/9ead4c93def722b4f285caa61f8b974b8434c4ed#diff-2bd386bf42efcc87b13fc16c223b031bd923cd992e5a279976ceaf80c23d4ba0 we added this block to auth-routes-builder.ts fix auth-routes-builder.ts using google specifics Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant