logger.debug("requestedUrl: {}", requestedUrl);
context.setSessionAttribute(Pac4jConstants.REQUESTED_URL, requestedUrl);
}
protected Result redirectToIdentityProvider(final PlayWebContext context, final List<Client> currentClients) {
try {
<BUG>final IndirectClient currentClient = (IndirectClient) currentClients.get(0);
final RedirectAction action = currentClient.getRedirectAction(context, true);
logger.debug("redirectAction: {}", action);
return httpActionAdapter.handleRedirect(action);</BUG>
} catch (final RequiresHttpAction e) {

logger.debug("requestedUrl: {}", requestedUrl);
context.setSessionAttribute(Pac4jConstants.REQUESTED_URL, requestedUrl);
}
protected Result redirectToIdentityProvider(final PlayWebContext context, final List<Client> currentClients) {
try {
final IndirectClient currentClient = (IndirectClient) currentClients.get(0);
currentClient.redirect(context, true);
return (Result) config.getHttpActionAdapter().adapt(context.getResponseStatus(), context);
} catch (final RequiresHttpAction e) {
