John O'Reilly
11/03/2020, 8:12 AMinstall(CORS) {
anyHost()
header("Authorization")
}
anyone aware of any other config needed to support that?HTTP/1.1 401 Unauthorized
Access-Control-Allow-Origin: *
WWW-Authenticate: Digest realm="*****", nonce="*****", algorithm="MD5"
Content-Length: 0
Connection: keep-alive
POST /api/v1/login HTTP/1.1
Host: 192.168.1.241:8080
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:81.0) Gecko/20100101 Firefox/81.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: <http://localhost:3000/login>
Origin: <http://localhost:3000>
Connection: keep-alive
Content-Length: 0
Joost Klitsie
11/03/2020, 9:36 AMrouting {
authenticate("") {
get("/whatever") {
}
}
post("login") {
}
}
John O'Reilly
11/03/2020, 9:37 AMaleksey.tomin
11/03/2020, 10:42 AMJohn O'Reilly
11/03/2020, 11:25 AM