Untitled

mail@pastecode.io avatar
unknown
plain_text
21 days ago
2.8 kB
3
Indexable
Never
-URI /oauth/token

2024-02-01 09:56:47.033  INFO [] 1 --- [trace=,span=] [http-nio-8080-exec-6] com.gaian.iam.filter.IamCorsFilter      : -----ClientId : gaian

2024-02-01 09:56:47.035  INFO [] 1 --- [trace=,span=] [http-nio-8080-exec-6] com.gaian.iam.filter.IamCorsFilter      : --------OauthClients from DB : OauthClients(id=61022846c8c4660001a195a0, tenantId=null, productId=null, clientId=gaian, resourceId=null, secretRequired=false, clientSecret=$2a$10$/9xSg1eJc4IaHU4cYcRx8Ow0t6IbGFcHiGmaVlZhiXXpmLgbyWtp., password=gaian, scoped=true, scope=[trust, read, write], authorizedGrantType=[refresh_token, implicit, password, client_credentials, authorization_code], registeredRedirectUri=[], authorities=[trust, read, write], accessTokenValiditySeconds=42000, refreshTokenValiditySeconds=216000, autoApprove=true, additionalInformation={})

2024-02-01 09:56:47.111  INFO [] 1 --- [trace=,span=] [http-nio-8080-exec-6] c.g.i.security.Oauth2UserDetailsService : -----Oauth2UserDetailsService Class, LoadUserByUserName method-------

2024-02-01 09:56:47.111  INFO [] 1 --- [trace=,span=] [http-nio-8080-exec-6] c.g.i.s.factory.LoginFlowServiceFactory : -----UserType  :CONSUMER

2024-02-01 09:56:47.111  INFO [] 1 --- [trace=,span=] [http-nio-8080-exec-6] c.g.i.security.ConsumerLoginFlowService : v1.1 : Oauth2UserDetailsService Class, getConsumerDetails method.

2024-02-01 09:56:47.112 ERROR [] 1 --- [trace=,span=] [http-nio-8080-exec-6] o.s.s.o.provider.endpoint.TokenEndpoint : Handling error: IllegalArgumentException, retrieveUser returned null - a violation of the interface contractjava.lang.IllegalArgumentException: retrieveUser returned null - a violation of the interface contract
        at org.springframework.util.Assert.notNull(Assert.java:198)
        at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:160)
        at com.gaian.iam.config.security.CustomAuthenticationProvider.authenticate(CustomAuthenticationProvider.java:26)
        at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:175)
        at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:200)
        at org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$AuthenticationManagerDelegator.authenticate(WebSecurityConfigurerAdapter.java:503)
        at org.springframework.security.oauth2.provider.password.ResourceOwnerPasswordTokenGranter.getOAuth2Authentication(ResourceOwnerPasswordTokenGranter.java:75)
        at org.springframework.security.oauth2.provider.token.AbstractTokenGranter.getAccessToken(AbstractTokenGranter.java:76)
Leave a Comment