These are chat archives for spring-cloud/spring-cloud

23rd
Mar 2019
Chris Overgaauw
@chrisovergaauw
Mar 23 13:50 UTC

I have SCG pointed towards a keycloak instance based on the example by @spencergibb
On the gateway itself I have an OAuth2User and not all mappings are what I expect them to be:

oauth2User.getName() gets the sub which is a string like this: "c13e8cdd-18c7-40dc-a9e6-69c536fd127e"

  1. Is there a way to change this?