Looking for examples to implement integrating Spring cloud gateway with an open source IDP like keycloak, UAA for REST APIs. There are some examples like below which use authorization code flow which in turn requires browser interaction.
https://blog.jdriven.com/2019/11/spring-cloud-gateway-with-openid-connect-and-token-relay/ https://spring.io/blog/2019/08/16/securing-services-with-spring-cloud-gateway
But since most are back end APIs exposed in spring cloud gateway, there is no browser involved. Could you please help advise how to implement both authentication and role based authorization for APIs in spring cloud gateway using an open source IDP?
Regards
Jacob