jricher/OpenID-Connect-Java-Spring-Server — Issue #1: Access current base URL from ConnectAuthCodeTokenGranter
Author: aanganes
Created: 2012-02-22 15:48:10+00:00
State: open

The "issuer" field of the IdTokens created when passing through the ConnectAuthCodeTokenGranter needs to be set to the server's current base URL. org.mitre.Utility.findBaseUrl() will produce that URL if given an HttpRequest, but the request object is not available inside the token granter. For now, the token granter is using a dummy string value.

Is there a way to properly insert the (dynamically discovered) current base URL into the token granter? Or should this value be statically configured at deployment time?