uncategorized
hampstead at September 13th, 2023 11:28 — #1
Has anybody here managed to link Ninja Forms to OnePage?
It just keeps telling me:
Please check your username and password. One of them is may be incorrect.
401 Authorization data not found
vladimir at September 13th, 2023 12:59 — #2
Hi Hampstead!
Thanks for contacting us. Could you please provide more information on how you're doing that?
If you're trying to use OnePageCRM API and experiencing problems with authentication then I can help you right now. We encourage our API consumers use basic authentication with Authorization header. Like Authorization
: Basic {your auth data here}
. {Auth data}
can be calculated with your user ID and API key which you can find on https://app.onepagecrm.com/app/api, tab Configuration
.
You should concatenate your user ID and API key with :
delimiter and encode it in base64. For example in ruby language it looks like the following:
user_id = 'your user ID'
api_key = 'your API key'
t = [user_id, api_ley].join(':')
auth_data = Base64.urlsafe_encode64(t)
And here it is, you should put what you have in auth_data
variable into Authorization header right after Basic
(mind the space character between the word Basic and your auth_data) and you'll be authenticated in OnePageCRM.
I hope it could help you. If not please provide more information on how you're trying to link Ninja Forms to OnePageCRM. I would be glad to help you.
Thank you,
Vladimir
hampstead at September 13th, 2023 16:05 — #3
Thank you very much for the answer, however. I'm using a plugin. To be precise I'm using Ninja Forms with the OnePageCRM plug in.
The plugin just askes for my username and password, which are correct.
vladimir at September 14th, 2023 07:07 — #4
Hi Hampstead!
Thanks for explaining your case.
Please try to log into OPCRM directly with your credentials. If you can't login then it means that either login or password is invalid. But if you can successfully log into OnePageCRM with your credentials, then you better should ask Ninja Forms support why Ninja Forms plugin doesn't let you in.
Also I'd recommend you to check the security (ask Ninja Forms support) of this plugin, because you're logging into OnePageCRM via a 3rd party application/plugin. So it would be good to make sure your credentials are safe in Ninja Forms.
Please feel free to ask your questions on OnePageCRM related questions. I will be glad to help you.
Thank you,
Vladimir
Powered by Discourse, best viewed with JavaScript enabled