yohcop / openid-go

OpenID consumer implementation in Go - golang
Other
83 stars 40 forks source link

Google integration test fails #16

Closed drichardson closed 8 years ago

drichardson commented 8 years ago

Running go test from the integration directory results in the following output:

MacBook-Pro:integration doug(master)$ go test
--- FAIL: TestGoogleCom (0.22s)
    discovery_test.go:36: Discovery failed
    discovery_test.go:39: Unexpected endpoint:
    discovery_test.go:42: Unexpected localId:
    discovery_test.go:45: Unexpected claimedId:
FAIL
exit status 1
FAIL    github.com/yohcop/openid-go/integration 1.895s

Both the Google URLs in the test file return HTTP 404 not founds.

$ curl -v https://www.google.com/accounts/o8/ud 2>&1|grep '< HTTP/1.1'
< HTTP/1.1 404 Not Found
$ curl -v https://www.google.com/accounts/o8/id 2>&1|grep '< HTTP/1.1'
< HTTP/1.1 404 Not Found

It appears that Google has dropped OpenID 2.0 support. Probably the solution to this is to remove Google from the integration tests.