Topic: automatic login


in my configuration i have uamsecret enabled and all works fine but how can i make an automatic login script?
if  pass username and password login fail because i must pass also challenge but howto calculate this value?

but i also appreciate an alternative idea....

thank you for your help