refresh token 是否能设置只使用一次 ? 使用一次后便无效,不能再换取access token
来源:6-7 jwt改造总结
			慕前端1572852
2020-10-10
@Override
    public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
        endpoints.tokenStore(tokenStore())
                .tokenEnhancer(jwtTokenEnhancer())
                .authenticationManager(authenticationManager)
                .reuseRefreshTokens(false)
                .userDetailsService(userDetailsService);
    }
reuseRefreshTokens 设置成false后,仍可以不断刷新token。
写回答
	2回答
- 
				
				
token用的是jwt吗?用jwt是不行的,因为服务端并不存储jwt
00 - 
				
						慕斯卡3527658
2020-12-23
同样遇到这个问题 等答案~~
00 
相似问题