auth0-samples / auth0-spring-boot-login-samples

Samples demonstrating adding authentication with Auth0 to Spring Boot applications
MIT License
48 stars 64 forks source link

Profile Page not displayed correctly using Spring Boot 2.6.6 #7

Closed E0653105 closed 2 years ago

E0653105 commented 2 years ago

Hi.

The application works as it should up to Spring Boot 2.5.13. I updated to Spring Boot 2.6.6, but when I click on the Profile link, all the styling is removed.

Please can the project be updated to use the latest version of Spring Boot

Many thanks

E0653105 commented 2 years ago

HI.

I've spotted the fix which works with Spring Boot 2.6.7

In the profile.html change the tag to:

<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layouts/default}">

Good luck