If open oxauth.log you may see following lines there:
2015-05-28 08:53:59,003 DEBUG [org.xdi.oxauth.model.error.ErrorResponseFactory] Looking for the error with id: invalid_scope
2015-05-28 08:53:59,003 DEBUG [org.xdi.oxauth.model.error.ErrorResponseFactory] Found error, id: invalid_scope
2015-05-28 08:53:59,008 ERROR [xdi.oxauth.uma.ws.rs.ResourceSetRegistrationWS] Exception during resource creation
It means that scopes that are used in request (in your case http://photoz.example.com/dev/scopes/view, http://photoz.example.com/dev/scopes/all) are not registered on oxauth (ce.gluu.info). Please register those scopes via oxTrust GUI (admin tool for oxauth).