I have an Authorization Server built in .Net Core Using Identity Server 4! It is working as expected to authorize clients and resources from Node Js and .Net. Now I’m trying to add a Java spring Boot 2 API (jdk 1.8) as a Protected Resource. I have achieved that goal by using the OAuth2 Boot Documentation! Everything works fine so
Tag: spring-security-oauth2
Spring Security 5 : There is no PasswordEncoder mapped for the id “null”
I am migrating from Spring Boot 1.4.9 to Spring Boot 2.0 and also to Spring Security 5 and I am trying to do authenticate via OAuth 2. But I am getting this error: java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id “null From the documentation of Spring Security 5, I get to know that storage format for password is
Spring Security OAuth2 not using token expire values from properties
I am trying to configure my application to pull access and refresh token expire times from my properties file rather than setting them in the java configuration. However it is not picking them up and instead reverts to the default values. Here is a sample of my Java config where I set the expire values manually. This works just fine
Spring Boot Oauth2 Extending DefaultTokenServices
I have an OAuth2 implementation that is working fine for the grant type = password. Now I need to add a logic of restricting the same user/password combination to be allowed to login again if the user …