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";
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";
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/handleReturn