如何在gsp中构建openID ReturnURL??
Define a ReturnURL
This is the endpoint where your webapp will receive and process the authentication responses from the OpenID Provider.
String _returnURL = "http://example.com/openid";参考:http://code.google.com/p/openid4java/wiki/QuickStart
发布于 2009-09-12 11:50:32
假设您在config.groovy文件中适当地设置了grails.serverURL,您可以使用绝对设置为true的createLink标记:
grails.serverURL = "http://example.com"
String _returnURL = createLink(controller:'openid', action:'handleReturn', absolute:true)
// _returnURL -> http://example.com/appname/openid/handleReturnhttps://stackoverflow.com/questions/818749
复制相似问题