The mock-idp had some minor issues which caused exceptions during authentication.
These exceptions were not immediately visible. I added a try catch to print out such errors.
Of course, in a production environment such errors should be handled more carefully.
However, I think it makes the sample project easier to get started with (when errors occur).
I was playing around with the sample project and this IdP mock: https://github.com/bjorns/mock-idp
The mock-idp had some minor issues which caused exceptions during authentication. These exceptions were not immediately visible. I added a try catch to print out such errors.
Of course, in a production environment such errors should be handled more carefully. However, I think it makes the sample project easier to get started with (when errors occur).