I recently got my RB up and running but when trying to login as an admin on ManagementPortal I receive the access token but then the system throws an unauthorized 401 exception.
These are the logs for the ManagementPortal container:
021-04-08 21:11:17.732 WARN 1 --- [ XNIO-2 task-7] o.r.auth.authentication.TokenValidator : Fetched public key less than PT1M ago, denied access.
2021-04-08 21:11:17.734 ERROR 1 --- [ XNIO-2 task-7] o.r.m.security.JwtAuthenticationFilter : Not fetching public key more than once every PT1M
2021-04-08 21:11:17.749 INFO 1 --- [ XNIO-2 task-8] o.r.auth.authentication.TokenValidator : Getting the JWT public key at https://ec2-18-228-28-31.sa-east-1.compute.ama
zonaws.com/managementportal/oauth/token_key
2021-04-08 21:11:17.950 WARN 1 --- [ XNIO-2 task-14] o.r.auth.authentication.TokenValidator : Fetched public key less than PT1M ago, denied access.
2021-04-08 21:11:17.950 ERROR 1 --- [ XNIO-2 task-14] o.r.m.security.JwtAuthenticationFilter : Not fetching public key more than once every PT1M
2021-04-08 21:11:17.953 ERROR 1 --- [ XNIO-2 task-8] o.r.m.security.JwtAuthenticationFilter : javax.net.ssl.SSLHandshakeException: Remote host closed connection during ha
ndshake
2021-04-08 21:11:18.261 WARN 1 --- [ XNIO-2 task-17] o.r.auth.authentication.TokenValidator : Fetched public key less than PT1M ago, denied access.
2021-04-08 21:11:18.262 ERROR 1 --- [ XNIO-2 task-17] o.r.m.security.JwtAuthenticationFilter : Not fetching public key more than once every PT1M
2021-04-08 21:11:37.701 INFO 1 --- [ XNIO-2 task-20] o.r.m.security.ClaimsTokenEnhancer : [GRANT_ACCESS_TOKEN] for admin: {expiresIn=14399, sub=admin, clientId=Manage
mentPortalapp, sources=[], grant_type=password, scope=SOURCETYPE.CREATE, SOURCETYPE.READ, SOURCETYPE.UPDATE, SOURCETYPE.DELETE, SOURCEDATA.CREATE, SOURCEDATA.READ, SOURCEDAT
A.UPDATE, SOURCEDATA.DELETE, SOURCE.CREATE, SOURCE.READ, SOURCE.UPDATE, SOURCE.DELETE, SUBJECT.CREATE, SUBJECT.READ, SUBJECT.UPDATE, SUBJECT.DELETE, USER.CREATE, USER.READ,
USER.UPDATE, USER.DELETE, ROLE.CREATE, ROLE.READ, ROLE.UPDATE, ROLE.DELETE, PROJECT.CREATE, PROJECT.READ, PROJECT.UPDATE, PROJECT.DELETE, OAUTHCLIENTS.CREATE, OAUTHCLIENTS.R
EAD, OAUTHCLIENTS.UPDATE, OAUTHCLIENTS.DELETE, AUDIT.CREATE, AUDIT.READ, AUDIT.UPDATE, AUDIT.DELETE, AUTHORITY.CREATE, AUTHORITY.READ, AUTHORITY.UPDATE, AUTHORITY.DELETE, ME
ASUREMENT.CREATE, MEASUREMENT.READ, MEASUREMENT.UPDATE, MEASUREMENT.DELETE, roles=[], iss=ManagementPortal, tokenType=bearer, grantType=password, iat=1617916297}
2021-04-08 21:11:37.930 WARN 1 --- [ XNIO-2 task-21] o.r.auth.authentication.TokenValidator : Fetched public key less than PT1M ago, denied access.
2021-04-08 21:11:37.934 ERROR 1 --- [ XNIO-2 task-21] o.r.m.security.JwtAuthenticationFilter : Not fetching public key more than once every PT1M
2021-04-08 21:11:37.986 WARN 1 --- [ XNIO-2 task-22] o.r.auth.authentication.TokenValidator : Fetched public key less than PT1M ago, denied access.
2021-04-08 21:11:37.987 ERROR 1 --- [ XNIO-2 task-22] o.r.m.security.JwtAuthenticationFilter : Not fetching public key more than once every PT1M
2021-04-08 21:11:38.011 WARN 1 --- [ XNIO-2 task-23] o.r.auth.authentication.TokenValidator : Fetched public key less than PT1M ago, denied access.
2021-04-08 21:11:38.015 ERROR 1 --- [ XNIO-2 task-23] o.r.m.security.JwtAuthenticationFilter : Not fetching public key more than once every PT1M
2021-04-08 21:11:38.072 WARN 1 --- [ XNIO-2 task-24] o.r.auth.authentication.TokenValidator : Fetched public key less than PT1M ago, denied access.
2021-04-08 21:11:38.072 ERROR 1 --- [ XNIO-2 task-24] o.r.m.security.JwtAuthenticationFilter : Not fetching public key more than once every PT1M
And this is my browser debug info:
And the response: error: "Not fetching public key more than once every PT1M"
Hi!
I recently got my RB up and running but when trying to login as an admin on ManagementPortal I receive the access token but then the system throws an unauthorized 401 exception.
These are the logs for the ManagementPortal container:
And this is my browser debug info:
And the response:
error: "Not fetching public key more than once every PT1M"