Skip to content

Association discovery with Steam OpenId: Required parameter missing: assoc_type #192

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Set http://steamcommunity.com/openid as the openid provider
2. Following the example on the tutorial, launch the discovery and association

List discoveries = manager.discover(openidprovider);

// attempt to associate with the OpenID provider
// and retrieve one service endpoint for authentication
DiscoveryInformation discovered = manager.associate(discoveries);

3. My log is filling with exceptions from the ConsumerManager

org.openid4java.message.MessageException: 0x100: Required parameter missing: 
assoc_type
at org.openid4java.message.Message.validate(Message.java:188)
at 
org.openid4java.message.AssociationResponse.validate(AssociationResponse.java:23
5)
at 
org.openid4java.message.AssociationResponse.createAssociationResponse(Associatio
nResponse.java:118)

and then I see 
WARN ConsumerManager - Association failed; using first entry: 
https://steamcommunity.com/openid/login

and all works perfectly: the user gets redirected to Steam for openid 
authentication, Steam calls the callback url correcly and the authentication 
goes fine.

What is the expected output? What do you see instead?
Why my log is full of exceptions? Ho can I stop them? Why these errors if all 
is working perfectly?
I can't simply set the log4j to ignore ERROR level for ConsumerManager!

What version of the product are you using? On what operating system?
0.9.6 from maven repository

Please provide any additional information below.
JDK 7

Original issue reported on code.google.com by e.mass...@faceit.com on 23 Feb 2013 at 10:10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions