java.lang.NullPointerException
at net.oauth.jsontoken.crypto.AsciiStringVerifier.verifySignature(AsciiS
ringVerifier.java:47)
at net.oauth.jsontoken.JsonTokenParser.signatureIsValid(JsonTokenParser.
ava:177)
at net.oauth.jsontoken.JsonTokenParser.verify(JsonTokenParser.java:130)
at net.oauth.jsontoken.JsonTokenParser.verify(JsonTokenParser.java:103)
at net.oauth.jsontoken.JsonTokenParser.verifyAndDeserialize(JsonTokenPar
er.java:116)
at com.google.identitytoolkit.JsonTokenHelper.verifyAndDeserialize(JsonT
kenHelper.java:54)
at com.google.identitytoolkit.GitkitClient.validateTokenToJson(GitkitCli
nt.java:170)
at com.google.identitytoolkit.GitkitClient.validateToken(GitkitClient.ja
a:184)
at com.google.identitytoolkit.GitkitClient.validateTokenInRequest(Gitkit
lient.java:218)
at com.google.gitkit.samples.GitkitExample$LoginServlet.doGet(GitkitExam
le.java:76)
I have followed the java quick start wiki page and created the client,service account and API key. When I try to access http://localhost:4567/ it errors out with the NPE.
Any suggestions ?
thanks