I have created an empty grails 2.4.5 web project and added the auth0 libraries to integrate the web application. That part was working properly. Then I added the Spring Security API dependencies following this manual: https://auth0.com/docs/quickstart/backend/java-spring-security (there is no Auth0 manual for integrating a grails 2 api with auth0)
But I am getting the error attached in the text file: [link text]. I have pushed the code that shows this integration to a github branch:
Could you please give me some hints on how to make this integration possible?
I know there is a grails 3 example but that one uses spring boot.
GET http://localhost:8080/webandapi/publicapi -> works ok
GET http://localhost:8080/webandapi/api (secured api, passing the token in Authorization header) -> get error attached