can I include user information while issuing an access token?

后端 未结 6 669
無奈伤痛
無奈伤痛 2020-11-28 03:58

I have seen in some oauth2 implementations additional information on the response returned by the authorization server when it issues access tokens. I\'m wondering if there

6条回答
  •  半阙折子戏
    2020-11-28 04:27

    I solve this problem when excluded UserDetailsServiceAutoConfiguration. Like this. Maybe wiil be helpful in OAuth2 resource servers.

    @SpringBootApplication(exclude = [UserDetailsServiceAutoConfiguration::class])
    class Application
    
    fun main(args: Array) {
        runApplication(*args)
    }
    

提交回复
热议问题