tst2005googlecode / step2

Automatically exported from code.google.com/p/step2
1 stars 0 forks source link

run example failed with the signature error #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. do as the wiki,startup consumer and provider
2. click "submit query"
3. come to "/step2-example-provider/authorize",do "approve",EX log found in 
comsumer 

What is the expected output? What do you see instead?
checkauth failed in consumer ,because of wrong signature.Two extension para not 
signed

What version of the product are you using? On what operating system?
from trunk,r:546

Please provide any additional information below.
DummyOpenIDServlet.doPost(HttpServletRequest, HttpServletResponse):85
Shoud call " manager.sign((AuthSuccess) responseMessage);" in the quote "if 
(responseMessage instanceof AuthSuccess) " ,
to resign the result after add extension parameters

Original issue reported on code.google.com by mile...@gmail.com on 20 May 2011 at 9:44

Attachments:

GoogleCodeExporter commented 9 years ago
HTTP ERROR: 500

0x0: something went wrong during response verification, such as nonce or 
signature checking. Check your debug logs.

RequestURI=/checkauth
Caused by:

com.google.step2.VerificationException: 0x0: something went wrong during 
response verification, such as nonce or signature checking. Check your debug 
logs.
    at com.google.step2.ConsumerHelper.verify(ConsumerHelper.java:121)
    at com.google.step2.example.consumer.servlet.CheckAuthServlet.doGet(CheckAuthServlet.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)

Original comment by mile...@gmail.com on 20 May 2011 at 9:48