Beiträge von ben_kroehnert

    Thanks a lot... now it works ^^

    Mistery is solved. To get a valid token, you need to run


    Code
    curl -X POST http://192.168.0.106:8080/auth/token
       -H "Content-Type: application/json"
       -H 'Authorization: Basic Y2xpZW50SWQ6Y2xpZW50UGFzcw=='
       -d '{
        "username": "admin",
        "password": "myPassword",
        "grant_type": "password"
    }'

    The string in header "Authentication: Basic" Y2xpZW50SWQ6Y2xpZW50UGFzcw== needs to be exactly like this (decoded value is "clientId:clientPass".


    Running this curl, the access token is returned.