Skip to content

SSO broken when upgrading from spring-boot 2.1.10 to 2.2.0 / 2.2.1 #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jonfreedman opened this issue Nov 7, 2019 · 1 comment
Closed

Comments

@jonfreedman
Copy link

Updating to the latest minor version of spring-boot 2.2.0 / 2.2.1 from the immediate prior version 2.1.10 causes SSO to stop working with InternalResourceView#prepareForRendering throwning a ServletException due to a circular view path.

This manifests itself with the client being served a HTTP 500 with the WWW-Authenticate: Negotiate header rather than a HTTP 401.

This seems to be due to updating spring-webmvc from 5.1.11 to 5.2.0 / 5.2.1

@jonfreedman
Copy link
Author

I've started to narrow this down, which this ServletException is thrown the ViewResolver implementation in my application changes from a UrlBasedViewResolver to a InternalResourceViewResolver instance.

The cause of this was that the default Freemarker extension was changed from .ftl to .ftlh, so when I renamed login.ftl to login.ftlh the issue was resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant