Forum Discussion
jnowlin_44976
Aug 21, 2015Nimbostratus
SAML IDP-initiated without webtop
so i have 1 SP initiated SAML setup and working.
i have another request to setup an IDP initiated SAML connection. i have get it to work successfully following the guide but after signing into the F...
Michael_Koyfma1
Aug 27, 2015Cirrus
You're almost there. Here is what you need to do in terms of iRUles. The gist is that you need to name your IDP resource and redirect to the proper webtop resource. You can try to automate it like you did to dynamically populate respond string, or you can define them statically in the switch statement - that way you can have more user-friendly setup, I believe. Keep in mind that in this case we assume you use Common partition(thus /Common/IDPresourceName reference - substitute that for what your resource is really defined as)
when HTTP_REQUEST priority 30 {
if {[ACCESS::policy result] eq "allow"; }
{
switch -glob [HTTP::path] {
"/IDPResource";
{
HTTP::respond 302 Location "/saml/idp/res?id=/Common/IDPResourceName"
return
}
}
}
}
` ACCESS Policy Response used to provide IdP Initiated SAML for users that have not logged in yet
when ACCESS_POLICY_COMPLETED priority 30 {
switch -glob [ACCESS::session data get session.server.landinguri] {
"/IDPResource"
{
ACCESS::respond 302 Location "/saml/idp/res?id=/Common/IDPResourceName"
return
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects