Forum Discussion
SAML SSO Without a Webtop
It is definitely possible, but you'd need to use an iRule for that.
when ACCESS_POLICY_COMPLETED {
log local0. "Policy Completed"
switch -glob [ACCESS::session data get session.server.network.name] {
"bobscloud.company.comp"
{
ACCESS::respond 302 Location "/saml/idp/res?id=/Common/bobscloud.com"
}
}
}
The value you put in the ACCESS::respond should match the name of your SAML resource that is placed on the webtop - I named it bobscloud.com for you. Essentially, you're forcing a user to automatically hit the webtop-based IDP-initiated connection without seeing the webtop.
- blwavg_10621Nov 12, 2013
Nimbostratus
I will test this out this week and let you know if it works. That is pretty clever. Thank you. I have some questions about the logic and flow of the data. But I want to play around a bit first and see if I can wrap my head around it first. - AP_129594Apr 04, 2014
Nimbostratus
Do you add this as an iRules Event on the visual editor or iRules under VIP? - Michael_KoyfmanApr 08, 2014
Cirrocumulus
iRules under VIP - CDGJan 20, 2016
Nimbostratus
If I have an IpP with 2 SP, Is it possible to have mutiple SAML resources on the webtop and then use this type of iRule to redirect the users automaticaly to a specific webtop ressource? - InnOOct 07, 2016
Nimbostratus
Yes. I have one IdP with multiple cloud SP external connectors. I always create a specific endpoint IdP URI for each SP, then in my iRule, select my SAML resource to use in the ACCESS::respond based on the URI used to reach my IdP.
For instance, for an IdP-initiated session for the MyCloudApp, I would configure and use a specific URI for my IdP named https://idp.mycompany.com/mycloudapp
when ACCESS_POLICY_COMPLETED { switch -glob [ACCESS::session data get session.server.landinguri] { "/mycloudapp*" { ACCESS::respond 302 Location "https://idp.mycompany.com/saml/idp/res?id=/Common/MYCLOUDAPP" } "/proofpoint*" { ACCESS::respond 302 Location "https://idp.mycompany.com/saml/idp/res?id=/Common/PROOFPOINT" } "/businessolver*" { ACCESS::respond 302 Location "https://idp.mycompany.com/saml/idp/res?id=/Common/BUSINESSOLVER" } }
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
