grails - spring-security-core secure-channel causing redirect loop (on Heroku)

后端 未结 2 1215
余生分开走
余生分开走 2021-01-13 12:42

I\'m using spring-security-core and have setup the secure-channel capabilities, which work fine on my development machine. I\'ve got the following in Config.groovy

2条回答
  •  有刺的猬
    2021-01-13 13:33

    You need to fix the values for the ports since they default to 8080 and 8443. See the section on Channel Security in the docs - http://grails-plugins.github.com/grails-spring-security-core/docs/manual/ - about the grails.plugins.springsecurity.portMapper.httpPort and grails.plugins.springsecurity.portMapper.httpsPort config attributes.

提交回复
热议问题