swp-fu-eid / eid-fu-swp

Docker-based REST API implemented with Django and restframework.
MIT License
2 stars 1 forks source link

Connecting with eID-Client (AusweisApp2) #3

Closed BenjaminKeller closed 7 years ago

BenjaminKeller commented 7 years ago

According to Technical Guideline TR-03124-1eID-Client – Part 1: Specifications paragrah 2.2 the eid-client offer its services at the following url:

We should support both variantes and also test localhost along with 127.0.0.1.

According to paragraph 2.2.1.2 we can check the status of the eid-client by sending a request to

http://127.0.0.1:24727/eID-Client?Status

I tested it and it works fine:

jQuery.get("http://127.0.0.1:24727/eID-Client?Status")
        .done(function(data) {
            console.log(data);
        })
        .fail(function(data) {
            console.log("fail");
        });

Output when AusweisApp is running:

Implementation-Title: AusweisApp2
Implementation-Vendor: Governikus GmbH & Co. KG
Implementation-Version: 1.10.3
Name: AusweisApp2
Specification-Title: TR-03124
Specification-Vendor: Federal Office for Information Security
Specification-Version: 1.2

else

fail

I am going to write a test site and a javascript class testing all mentioned urls and providing an useful interface.