browserid - audience mismatch in development mode -


currently trying develop login/registration system based on browserid.

i have server local ip 192.168.0.106 , runs on "http://localhost"

the process works when doing browser on server machine sending verification audience: "localhost"

the problem when try identify machine on same local network, address not localhost, 192.168.0.101 : verification process returns "audience mismatch" failure because client connects 192.168.0.106 (the server's local address) , not localhost

any ideas or suggestions ?

the audience-match check verifer ensure assertion you've been given fresh, , hasn't been harvested site.

in 'production' you'd know address clients connect site with, , hard-code call verifier.

in development, there 2 options i've used: 1. add explicit mapping /etc/hosts files clients i'm testing use same address 2. use value 'host' header audience value (this insecure depending on middleware/intermediaries you're using, should done in development)


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -