Welcome. Ask away! Unless otherwise specified we assume you're using the latest 6.x version of Spring Security
TokenStore
, but also the TokenGranter
, RequestFactory
, RequestValidator
, and ConsumerTokenServices
.
Hoping to get a little help about configuring multiple OAuth2 IDPs in our Spring Boot API Gateway. We are currently using Zuul but are also PoCing Spring Cloud Gateway so either is relevant.
We'd like to use tenant URLs for our Federated users each using a different IDP for authentication but ultimately have them go through the same gateway. Is there a way to switch OAuth configurations based on the tenant of the URL? A couple considerations; 1) we do not want a login selector screen - we'd like to manage that through different security configurations, 2) the redirect URL should contain the tenanted URL. Is this possible? Easy/Hard?
The token may denote an identifier used to retrieve the authorization
information
getTokenDetails(String token)
interface
All these specifications have been written for good reason
Again, they are not specifications of implementation details.