-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow loading / saving Shipping Addresses used by WooCommerce in Auth0 Profile #76
Comments
Hi @cancan101 this feature you are asking are out of the scope of this plugins. It is a very specific feature that must support a lot of different plugins. For this reason, it is not in our backlog. Anyway, we can give you some guidance. In fact, It shouldn't harder than add an API call to https://auth0.com/docs/api/v2#!/Users/patch_users_by_id to set the user/app metadata. Also, we can add an action on the user creation in the Auth0 plugin in order to make it easy to get the info from the auth0 profile and populate your database. The same happens with issue #77. |
This sounds good, but what to do about pulling in the newest changes from Auth0 profile each time the user logs in to WP? |
The plugin always get the user profile in order to find the WP user to login, so this action could be fired on each login with this data. I am thinking in something like
|
Okay, so you are saying some hook in WP that will get called when an Auth0 user logs in that gets passed the user's auth0 profile contents? |
exactly |
Hey @cancan101 I've released a new version with the action we talked. I updated the readme (https://github.com/auth0/wp-auth0#interating-with-the-plugin) with info about it. |
It would be great if Auth0 could be used to load / store the information needed by the user when checking out in WooCommerce.
This should exclude payment information (CC#s) since that should be stored by the payment gateway.
The text was updated successfully, but these errors were encountered: