spring-authorization-server
spring-authorization-server copied to clipboard
error with status 999 on first login
Describe the bug The first time login to auth server will fail if using custom database schema
To Reproduce
- start uaa-auth-server, todos-service and web-client module respectively
- open browser and navigate to http://localhost:8081 (which is the web-client) and it is successfuly redirected to http://localhost:9000 (which is the authorization server)
- use
user/12345678to log in - you will see the following error
{"timestamp":"2022-08-12T08:44:47.290+00:00","status":999,"error":"None","message":"No message available"}
And if we try to navigate to http://localhost:8081 again in the same browser window, the web-client index page will be displayed, the error is gone.
Expected behavior The first login should be success
Sample
https://github.com/wpcfan/spring-auth-server.git