You need to sign in to do that
Don't have an account?
Juan J Romero
How to configure Auth. Provider and Named Credentials for Marketing Cloud?
Hello team,
I’m facing some issues trying to call Marketing Cloud REST API, from SF Apex code, using Named Credentials, Auth Providers and Custom Metadata Types.
I have done the connection between the two systems, but making a request to obtain the access token every time I need to call the API or storing it in a custom setting, for example, to reuse it in future API calls.
I want to do it in a better way using Named Credentials, Auth Providers and Custom Metadata Types but I’m struggling with it. When my class extending Auth.AuthProviderPluginClass runs, it calls the method initiate but the method handleCallback is never called.
My questions are:
- Is it possible to do this connection between SF and Marketing Cloud REST API using these features? (Named Credentials, Auth Providers and Custom Metadata Types).
- If so, do you have any documentation I can read with an example of how to do it? I have read the SF help documentation and I couldn’t find anything.
Thanks in advance!!
Regards,
I’m facing some issues trying to call Marketing Cloud REST API, from SF Apex code, using Named Credentials, Auth Providers and Custom Metadata Types.
I have done the connection between the two systems, but making a request to obtain the access token every time I need to call the API or storing it in a custom setting, for example, to reuse it in future API calls.
I want to do it in a better way using Named Credentials, Auth Providers and Custom Metadata Types but I’m struggling with it. When my class extending Auth.AuthProviderPluginClass runs, it calls the method initiate but the method handleCallback is never called.
My questions are:
- Is it possible to do this connection between SF and Marketing Cloud REST API using these features? (Named Credentials, Auth Providers and Custom Metadata Types).
- If so, do you have any documentation I can read with an example of how to do it? I have read the SF help documentation and I couldn’t find anything.
Thanks in advance!!
Regards,
Here (https://deepakoncrm.blogspot.com/2019/01/connect-to-marketing-cloud-through.html) are the details steps (https://deepakoncrm.blogspot.com/2019/01/connect-to-marketing-cloud-through.html)
Wargapoker (https://wargapoker.online/)
Harapanqq (http://180.215.200.12/)
Update, I have the same issue.
All works fine from apex with hardcoded credentials.
How do it all in a safe way using Named Credentials, Auth Providers, and Custom Metadata Types?