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

feat(core) Add CreateUser method to ExternalAuthenticationService Helper #2987

Closed
wants to merge 1 commit into from
Closed

feat(core) Add CreateUser method to ExternalAuthenticationService Helper #2987

wants to merge 1 commit into from

Conversation

arrrrny
Copy link
Contributor

@arrrrny arrrrny commented Aug 1, 2024

Description

Added createUser method to external authentication helper to support the case where user is authenticated via external provider without email. There is a case (ie mobile app only store) where we only want authenticated users to see products and and be able to add to carts. This is also useful for anti-scraping.

I also returned savedUser from all methods for consistency and added type for missing method.

Breaking changes

Nope

Screenshots

You can add screenshots here if applicable.

Checklist

📌 Always:

  • [XI have set a clear title
  • My PR is small and contains a single feature
  • I have checked my own PR

I added code description which will auto update readme
👍 Most of the time:

  • I have added or updated test cases
  • I have updated the README if needed

I have read the CLA Document and I hereby sign the CLA

AHMET TOK
ARRRRNY

Copy link

vercel bot commented Aug 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Aug 1, 2024 6:26am

Copy link
Contributor

github-actions bot commented Aug 1, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@arrrrny
Copy link
Contributor Author

arrrrny commented Aug 1, 2024

I have read the CLA Document and I hereby sign the CLA

@arrrrny
Copy link
Contributor Author

arrrrny commented Aug 1, 2024

recheck

github-actions bot added a commit that referenced this pull request Aug 1, 2024
@arrrrny arrrrny closed this Aug 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant