EAP 330 - External Portal Server

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

EAP 330 - External Portal Server

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
EAP 330 - External Portal Server
EAP 330 - External Portal Server
2017-01-12 17:30:13
Model :

Hardware Version :

Firmware Version :

ISP :

Hi,

I have a problem with the EAP controller and authentication process.
I followed this : http://www.tp-link.com/fr-be/faq-928.html

My external portal is developped with WEBDEV 22 and i have a problem for send the last POST request : " For EAP controller V2.2.3 or above, the URL is https://controller _server_ip:https_port/extportal/site_name/auth and the query string is “cid=client_mac&ap=ap_mac&ssid=ssid_name& t=time_since_epoch&rid=Radio_id&site=site_name&time=expire_time”. (Step 11)".

I am trying this :

[CODE]sAdresse_URL_Login est une chaîne = "https://ipserv:port/login"
HTTPRequête(URLEncode(sAdresse_URL_Login),"","",URLEncode("name=####&password=####"))[/CODE]

It logs successful because the server answer this : "{"success":true,"message":"Log in successfully.","value":"administrator"}"


[CODE]sAdresse_URL_auth est une chaîne = "https://ipserv:port/extportal/sitename/auth"
URI = "cid=####"+RC+"ap=####"+RC+"ssid=####"+RC+"t=####"+RC+"rid=####"+RC+"site=####"+RC+"time=####"
HTTPRequête(sAdresse_URL_auth,"","", URLEncode(URI),"")[/CODE]

Where #### are the good values. I have tried with "&" instead of "+RC+", same things.

The server send me a JSON response : "{"success":false,"message":"AuthEntry param is null.","value":null}"
What is AuthEntry ? How can I fix it ?


Thanks you,


Sorry for my english I know it is not that good :/
  0      
  0      
#1
Options
8 Reply
Re:EAP 330 - External Portal Server
2018-01-07 18:37:23
Hi,

I have the same problem, I can login successfuly but then I try to do the auth and I receive the 'AuthEntry param is null'
If I understand correctly the problem, something need to be added to the auth call to authenticate the call.
Those someone know the correct way to do the job?

Thanks
Samuel
  0  
  0  
#2
Options
Re:EAP 330 - External Portal Server
2018-01-12 19:20:05
Hi

Noone knows the answer to that problem?

Best regards,
Samuel
  0  
  0  
#3
Options
Re:EAP 330 - External Portal Server
2018-01-15 10:49:21
Hi,I think you can refer to the soure code FAQ for detailed reference: http://www.tp-link.com/en/faq-916.html
What's more, if you can provide your detailed code, maybe I can help you check it deeper.
  0  
  0  
#4
Options
Re:EAP 330 - External Portal Server
2018-01-16 05:46:35
Solved it yesterday.
Thanks for your reply.
I hit another problem related to performance but I will open another thread,
  0  
  0  
#5
Options
Re:Re:EAP 330 - External Portal Server
2018-10-22 14:28:51

SamuelMartins wrote

Solved it yesterday.
Thanks for your reply.
I hit another problem related to performance but I will open another thread,

Congratulations that you solved it.

 

Would be nice if you could inform the community about the details of your solution.

  1  
  1  
#6
Options
Re:Re:EAP 330 - External Portal Server
2019-09-09 13:48:59

SamuelMartins wrote

Solved it yesterday.
Thanks for your reply.
I hit another problem related to performance but I will open another thread,

 

No documentation is released for this issue or related to "AuthEntry" keyword. I guess, you are the first and the one person to solve this.

 

Can you share your solution to help others?

  0  
  0  
#8
Options
Re:EAP 330 - External Portal Server
2020-06-06 21:54:55 - last edited 2020-06-06 21:55:16

@SamuelMartins 

 

Can i hate you? Please: what was the fix?

 

Thanks

AP

  0  
  0  
#9
Options
Re:EAP 330 - External Portal Server
2021-11-23 11:00:59 - last edited 2021-11-23 11:02:51

@AndreaPellegrin 

 

Yes you can hate. :) By the way we have solved it. Our controller version is 3.2.14. So we used this documentation for External Portal Server.  (https://www.tp-link.com/tr/support/faq/2274/) In this article TP-Link says to post data in JSON format. But it does not work. Just try to send your request as a "Form data" not as JSON.

  0  
  0  
#10
Options

Information

Helpful: 0

Views: 2395

Replies: 8