Hi everybody,
i got some trouble handling different SAMLClients. But lets start from the beginning...
I'm using Play 2.5 with scala and play-pac4j 2.6.2
I've configured (for simplicity) 2 SMALClients
valclient1 = new SMAL2Client(saml2configForClient1...)
valclient2 = new SMAL2Client(saml2configForClient2...)
The goal i would like to achieve, is providing an endpoint with a form, that lists all configured clients. If there is a user entering my app and would like to login, i will send him to this form, where the user has to decide which client he would like to choose.
Imagin a library that collaborates with 2 universities and their users should choos their university...
Now im struggling with the redirects to the identity provider.
From the configuration i could fetch all configured clients like
config.getClients.findAllClients...
But after that point i got stucked.
I found some RedirectAction with the clients and so on, but it looks like something different.
I hope that i could point out my problem....
hint: i spend a lot of time reading wikis and readmes and so on, but without success.
i do not want to add one protected endpoit for each client to my app and so on....
regards
callidus