Application was working fine yesterday. Today, I updated some java code and fired the build.sh. Now, during login, i am getting 403 forbidden error in developer's console during get request to below url:
2018-12-21 12:16:09.949 INFO 48 --- [nio-8181-exec-8] o.i.i.c.a.LoginBL : Auth Status : 0
2018-12-21 12:16:09.949 INFO 48 --- [nio-8181-exec-8] o.i.i.c.a.LoginBL : authenticated!!!!
11:28:42,309 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (default task-4) SQL Error: 0, SQLState: 23505
11:28:42,310 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (default task-4) ERROR: duplicate key value violates unique constraint "uk_b71cjlbenv945rb6gcon438at"
Detail: Key (realm_id, client_id)=(master, idp) already exists.
11:28:42,310 INFO [org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl] (default task-4) HHH000010: On release of batch it still contained JDBC statements
11:43:17,382 WARN [org.keycloak.events] (default task-10) type=LOGIN_ERROR, realmId=master, clientId=account, userId=null, ipAddress=myipaddress, error=invalid_redirect_uri, redirect_uri=http://ip.address:8989/auth/realms/master/account/login-redirect?path=password
11:43:18,258 WARN [org.keycloak.events] (default task-13) type=LOGIN_ERROR, realmId=master, clientId=account, userId=null, ipAddress=myipaddress, error=invalid_redirect_uri, redirect_uri=http://ip.address:8989/auth/realms/master/account/login-redirect?path=password
During full build, the posgres server data was not re-initialised. I feel like, this is the main reason behind keycloak exceptions.
Any idea how can i resolve this issue.