Provisioning autentication

Provisioning autentication SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through February 09, 2012 » Provisioning autentication « Previous || Next »
Author Message
Leandro Alves
New member
Username: Leandrocalves

Post Number: 1
Registered: 01-2012
Posted on Thursday, January 05, 2012 - 06:34 pm:   

Good afternoon, I am using the following parameters to add in my web system:
http://upsolution.dyndns.org:8800/provision?user=myadmin&password=mypassadmin&Ty pe=SMS&AdminAction=Add&Fullname=LuizGarcia&Name=luiz&Password=000&EnableWebLogin =Yes&CreditsToAdd=5
but the password that this recording is for the User Password aministrador, is how to resolve this issue?

Sorry my english =)
Leandro Alves
New member
Username: Leandrocalves

Post Number: 2
Registered: 01-2012
Posted on Friday, January 06, 2012 - 10:43 am:   

Can anyone help me?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3703
Registered: 08-2008
Posted on Friday, January 06, 2012 - 11:50 am:   

Hi Leandro,

I checked this article: http://www.nowsms.com/provisioning-sms-and-mmsc-user-accounts-via-http

It says "The admin username and password must be supplied in the HTTP GET request within an “Authorization:” header using HTTP Basic Authentication."

I am surprised that it almost works with the URL parameters for admin username/password, but as you mention it will not support the password parameter in this way.

I will ask our engineers to add support for thus in an update.

However, right now, the only solution is to use HTTP Basic Authentication.

--
Des
NowSMS Support
Leandro Alves
New member
Username: Leandrocalves

Post Number: 3
Registered: 01-2012
Posted on Friday, January 06, 2012 - 12:11 pm:   

I understand, but how does this authentication header? I could spend a code example that I put on my page?

Thank you for your attention.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3706
Registered: 08-2008
Posted on Friday, January 06, 2012 - 01:50 pm:   

The Authorization: header is not part of the URL, so it can't be included in a URL link.

How you generate it depends on what language you are working with. Some more background info on HTTP BASIC authentication can be found here: http://en.m.wikipedia.org/wiki/Basic_access_authentication
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3713
Registered: 08-2008
Posted on Tuesday, January 10, 2012 - 09:18 pm:   

Hi Leandro,

We've posted a preliminary update to address this issue at http://www.nowsms.com/download/nowsms20120110.zip.

To address this issue, if authentication is included in the URL provisioning request, the user password is parsed from the second instance of the "password=" parameter.

--
Des
NowSMS Support
Leandro Alves
New member
Username: Leandrocalves

Post Number: 4
Registered: 01-2012
Posted on Wednesday, January 11, 2012 - 12:35 pm:   

He just right here, right now is working very well, thank you for the attention and commitment!

Login Login / Register Logout Logout Search Last 30 Days Topics Topics