<
WiFi
Invalid user name - EAP
This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Invalid user name - EAP
Posts: 7
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-05-15
2017-05-15 08:36:04
Posts: 7
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-05-15
Invalid user name - EAP
2017-05-15 08:36:04
Tags:
Model :
Hardware Version :
Firmware Version :
ISP :
I installed eap controller 2.4.7 and create a username and password. Into login page, i can access normally, but using http post request like https://127.0.0.1:8043/login (by postman) with same credentials, is returned: "Invalid user name.".
Can anyone help me? How is that possible?
EAP Controller: http://www.tp-link.com/en/download/EAP110.html#Controller_Software
What i tried: http://www.tp-link.com/us/faq-928.html
Below, the evidences:
Hardware Version :
Firmware Version :
ISP :
I installed eap controller 2.4.7 and create a username and password. Into login page, i can access normally, but using http post request like https://127.0.0.1:8043/login (by postman) with same credentials, is returned: "Invalid user name.".
Can anyone help me? How is that possible?
EAP Controller: http://www.tp-link.com/en/download/EAP110.html#Controller_Software
What i tried: http://www.tp-link.com/us/faq-928.html
Below, the evidences:
#1
Options
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Thread Manage
Announcement Manage
8 Reply
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
Re:Invalid user name - EAP
2017-05-15 09:02:06
The username field must be
userName, not
name n the POST form.
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#2
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
Re:Invalid user name - EAP
2017-05-15 09:24:34
The form's field for the username must be
userName, not
name. Note the uppercase 'N'.
The info in the FAQ is wrong.
The info in the FAQ is wrong.
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#3
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
Re:Invalid user name - EAP
2017-05-15 09:32:50
Try it with content-type
application/x-www-form-urlencoded instead of
raw. It works for me using
curl with this content type.
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#4
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 7
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-05-15
Re:Invalid user name - EAP
2017-05-16 07:13:49
Thanks R1D2, now I got success to log in.
But I have another problem, in the next step 8 of http://www.tp-link.com/us/faq-928.html, I tried make a "fake" request, only to get a JSON and test before build my app. So, all my requests generated a HTTP Error 400:
But I have another problem, in the next step 8 of http://www.tp-link.com/us/faq-928.html, I tried make a "fake" request, only to get a JSON and test before build my app. So, all my requests generated a HTTP Error 400:
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#5
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 7
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-05-15
Re:Invalid user name - EAP
2017-05-16 23:04:08
Thanks R1D2, now I got success to log in. But I have another problem, in the next step 8 of
http://www.tp-link.com/us/faq-928.html, I tried make a "fake" request, only to get a JSON and test before build my app. So, all my requests generated a HTTP Error 400:
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#6
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
Re:Invalid user name - EAP
2017-05-17 06:30:04
I'm not sure, but probably now you have to use
raw mode. The difference is that with the login request you simulate filling in a form and submitting it, while the request for authentication might be processed differently. Try
raw mode and set
Content-type and
Content-length header appropriately. Just a guess.
Unfortunately TP-Link's documentation for Business Class devices is lacking details needed for proper integration in customized systems. While I understand the (intentional) lack of technical details in the documentation for SOHO equipment to keep the average user happy, I think for SMB equipment TP-Link should make a little more in-depth documentation available, at least to system integrators such as you and me.
Unfortunately TP-Link's documentation for Business Class devices is lacking details needed for proper integration in customized systems. While I understand the (intentional) lack of technical details in the documentation for SOHO equipment to keep the average user happy, I think for SMB equipment TP-Link should make a little more in-depth documentation available, at least to system integrators such as you and me.
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#7
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 7
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-05-15
Re:Invalid user name - EAP
2017-05-17 07:28:44
Nice R1D2 , you were right! It worked! I changed to raw and text/plain and i got the json. You are correct, this docs are not enought to build an app, we need more information and examples. But now i can continue and do more tests.
Thank you very much! :D
Thank you very much! :D
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#8
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 4334
Helpful: 1039
Solutions: 173
Stories: 3
Registered: 2015-12-05
Re:Invalid user name - EAP
2017-05-17 07:37:07
gjunior022 wrote
Thank you very much! :D
Glad it worked! So it saves me time for a test on my own, thank you for the feedback! :D
༺ 0100 1101 0010 10ཏ1 0010 0110 1010 1110 ༻
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
0
We appreciate your feedback. Feel free to let us know more. Log in to submit feedback.
#9
Options
- Copy Link
- Report Inappropriate Content
Thread Manage
Announcement Manage
Posts: 7
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-05-15
2017-05-15 08:36:04
Posts: 7
Helpful: 0
Solutions: 0
Stories: 0
Registered: 2017-05-15
Information
Helpful: 0
Views: 3394
Replies: 8
Voters 0
No one has voted for it yet.
Tags
Related Articles
Eap 225 outdoor max user
539
0
Report Inappropriate Content
Transfer Module
New message