Forum Discussion
F5 APM as IDP using Custom Page
Hello,
Currently we are trying to use BIG IP APM as idp provider. Please suggest how can this be achieved:
Currently our site is public. There is a login form embedded in the landing page. To access any protected resource user has to enter username. password that gets validated against the Database. If Database authentication is successful user can see the resources and links to external partners.
Our requirement: When authenticated user clicks on an external partner link we want them to access the partner site without prompting them to login again.
We can configure APM as IDP and SP. The challenge we are facing is how to set up the authentication in APM in the above scenario. Since landing page is unprotected, User enters credentials and when It clicks on partner link we would like to use already authenticated username and pass them to external partner (SP)
Any suggestions?
Thanks Msid
11 Replies
Does the partner side act as SAML SP? If so, you can create federation relationship between APM as IDP and Partner site as SP and assign that SAML resources as the SSO config to your access policy. This way, as the user goes to partner site, it would ask for an assertion from the same virtual as the application VS protected by APM and it would get a seamless assertion back and signed into the partner application.
- masod_211209
Nimbostratus
Partner acts as an SAML SP, We can set up the federation between the two. How to address the Authentication. Using APM as IDP can you please suggest/steps on how to configure authentication in this case? Do I need to modify my existing application?
Thanks
Are you using APM to authenticate the user before they get to the protected part of the application today? It would be ideal if you did, because because if you want to allow unauthenticated access in addition to authenticated access, the config would be a bit more complex. The good news is that no changes to the application are necessary regardless of the scenario - all work is done on the BIG-IP. I would first suggest trying to build a successful standalone configuration where BIG-IP is the IDP and partner is SP and get that part working - once that works, it would be easier to take it and integrate with the overall bigger scenario - divide and conquer approach is usually the most effective one. You can also consider employing F5 or one of F5-authorized partners services to help you with this.
- masod_211209
Nimbostratus
The application is unprotected and can be accessed by anyone. If users want to get access to protected resource they will have to enter credentials first and get authenticated before seeing any other protected resource.
I was hoping to do following: 1) Use http form based authentication to point to our existing landing page. 2) After user credentials are verified we sent back a parameter valuee back to APM signifying user is authenticated (will have to modify our existing app to achieve this) 3) Redirect from APM to protected resource pages. 4) Users click on Partner Link 5) Redirect to SP via APM 6) SP consumes the assertion and grants access
Let me know if the above steps will work?
Thanks
- kunjan
Nimbostratus
See if this workable
On APM create access policy on VPE: 1) Create IdP SSO resource 2) Bind this to SP connector 3) Create new access policy and attach the IdP SSO resource created 4) Configure Access policy with 'External Logon Agent' to capture the credentials 5) Use HTTP AAA agent to do form based authentication 6) Redirect to Landing page- masod_211209
Nimbostratus
One clarification Will the IDP SSO resource in this case would be the URL to the External Partner Site? - kunjan
Nimbostratus
IdP SSO config is local. The external partner configuration is in the SP connector
- kunjan_118660
Cumulonimbus
See if this workable
On APM create access policy on VPE: 1) Create IdP SSO resource 2) Bind this to SP connector 3) Create new access policy and attach the IdP SSO resource created 4) Configure Access policy with 'External Logon Agent' to capture the credentials 5) Use HTTP AAA agent to do form based authentication 6) Redirect to Landing page- masod_211209
Nimbostratus
One clarification Will the IDP SSO resource in this case would be the URL to the External Partner Site? - kunjan_118660
Cumulonimbus
IdP SSO config is local. The external partner configuration is in the SP connector
- masod_211209
Nimbostratus
Thanks Kunjan,
I will give this a try and let you know.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com