Reputation: 14829
As I understand it, a realm is a protection space within which you can authenticate with the same credential(s).
The challenge my server gives demands a unique un-reusable credential that can be used to authenticate only once (“one-time credential”).
WWW-Authenticate: reCAPTCHA realm=__________
In this case, what do you think the realm should be, a UUID? Or should I not set it at all?
Upvotes: 0
Views: 418
Reputation: 6606
As you correctly point out, the realm is supposed to allow logical separation. Setting it to a UUID is actually a pretty good idea. Leaving it unset, OTOH, would mean no separation at all: all credentials in this case were part of the 'no realm' realm.
Upvotes: 1