OAuth Approval Question: Desktop application

How do we set up a client to be able to approve access using OAuth?

1. a client is set up under our account with a registered user with full account access;
2. the application opens the OAuth access page using (replaced) param values for brevity

https://api.createsend.com/oauth?type=user_agent&client_id=000000&redirect_uri=http%3A%2F%2Fsmxi.com%2Fcreatesend_complete.html%3Fsmx%3DCVD347&scope=ViewReports%2CManageLists%2CCreateCampaigns%2CImportSubscribers%2CSendCampaigns%2CViewSubscribersInReports%2CManageTemplates%2CAdministerPersons%2CAdministerAccount

3. User logs in and approves
4. The page says that "It looks like you don’t have enough access rights to authorize this application."

Thanks

terryt terryt, 2 years ago

Hi Russell,

Thanks for reaching out! Out of curiosity, is there any particular reason the API key wouldn't work? It might be a bit easier and require less input from your clients.

Cheers,
Terry Tice


Terry Tice
Campaign Monitor
RussellW, 2 years ago

No reason that the api key wouldn't work, but your getting started page does recommend using the OAuth authentication method. We also use OAuth on a lot of other API integrations without any problem.

terryt terryt, 2 years ago

Hi Russel,

Yes, we do recommend using OAuth, but in this scenario it sounded like the API key would be a better fit. Regardless, it looks like you have AdministerAccount, which beyond the access level of a person for a given client. Even with full permission, a person only has access to the "client" information and data. Only an admin has access to administer the account. If you remove that one item it should work out.

Let me know if you have any other questions!

Cheers,
Terry Tice


Terry Tice
Campaign Monitor
RussellW, 2 years ago

thanks Terry, that did the trick

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098