Skip to content

Make script work again with new SSO login #1

@bb

Description

@bb

Hi Aikhjarto,

Looks like you also wanted to automate dns-01 challenge with HostEurope AutoDNS. I found this project by looking for a solution for this. :)

Are you planning to work around the issue you observed in a8ad9da or is this project abandoned? Or do you by chance have it fixed locally and just not published? ;)

My investigation so far:

It still seems easily possible to login via curl by using a cookie-jar (Using curl: -b hosteurope.cookies to read and -c hosteurope.cookies to write during login.

Before the first fetch, I run
$FETCH_BIN 'https://sso.hosteurope.de/api/app/v1/login' -H 'Origin: https://sso.hosteurope.de' -H 'Content-Type: application/json' -H 'Accept: application/json, text/plain, */*' -H 'Referer: https://sso.hosteurope.de/' -H 'Connection: keep-alive' -H 'DNT: 1' --data-binary "{\"brandId\":\"b9c8f0f0-60dd-4cab-9da8-512b352d9c1a\",\"locale\":\"de-DE\",\"identifier\":\"$HE_USERNAME\",\"password\":\"$HE_PASSWORD\"}" --compressed -c hosteurope.cookies
The output will be {"success":true} if the login was successful.

Subsequent requests to KIS seem to work in general, however the old kdnummer and passwd params need to be removed.

In addition, something else seems to be wrong on my side, but I wanted to reach out to you first before spending too much time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions