klaviyo / magento2-klaviyo

37 stars 51 forks source link

Create OAuth Configuration #93

Closed klaviyojad closed 3 years ago

klaviyojad commented 3 years ago

Updates to the Extension to expose a new Config Section to Setup the Integrations in Magento2 with the Identify and Redirect Oauth URLs

ihor-sviziev commented 3 years ago

@klaviyojad @remstone7 basically, by these changes you removed support for admin user / password. BUT for people that upgrading - they still will have an admin user, and it's credentials will be still stored in core_config_data. I think you should create a migration script that will clean up the data from DB. Also, small cleanup still needed - https://github.com/klaviyo/magento2-klaviyo/blob/3fcc6cf78f9e671269fbb28595f4a7582ab52ea9/etc/config.xml#L9-L14

ihor-sviziev commented 3 years ago

Also, I have a question: How can we migrate from user/password-based integration to using OAuth-based one? In magento2 integration section in Klaviyo I still see login and password section

klaviyojad commented 3 years ago

@ihor-sviziev user/password-based integration will continue to work for customers that have set it up. There will be updated instructions in Help Center for users to migrate to OAuth to be published later today. Also the UI will change in the Klaviyo App.