MattGrdinic / SamlTemplate

0 stars 0 forks source link

After logout not redirect back to main application #1

Open darpansamani opened 2 years ago

darpansamani commented 2 years ago

after logout success, it will not redirect back to main application or in home page please help to solve this issue

MattGrdinic commented 2 years ago

Greetings!

So first a quick question: What's the architecture with respect to your identity provider (Idp)?

Asking because when using an external identity provider like:

Secured Site > Redirect to Login > Redirect to external Idp > Login and redirect to secured site.

The logout redirect is handled by the identity provider via a SAML Logout POST, not this plugin.

So in the case of say, AD FS (Active Directory Federation Services), they provide a screen under the Endpoints tab to do just that.

Anyway then let's start with what your identity provider is and where it sits in relation to the login process.

darpansamani commented 2 years ago

Greetings!

So first a quick question: What's the architecture with respect to your identity provider (Idp)?

Asking because when using an external identity provider like:

Secured Site > Redirect to Login > Redirect to external Idp > Login and redirect to secured site.

The logout redirect is handled by the identity provider via a SAML Logout POST, not this plugin.

So in the case of say, AD FS (Active Directory Federation Services), they provide a screen under the Endpoints tab to do just that.

Anyway then let's start with what your identity provider is and where it sits in relation to the login process.

Hi,

Thanks for your reply. I am using your project: saml template

I am doing saml sso using manage engine addselfservice (SAML) and it's working perfectly but only 2 issue I have

  1. After logout it will redirect on manage engine login page and not back to main application
  2. I am not able to set session timeout manually.

Please help me on this.

darpansamani commented 2 years ago

Hi MattGrdinic,

We have stuck in between to pass exit url after we logout from the idp from the SAML plugin we can not find any exit url setup to handle the logout properly, can you please look into this issue.

Many thanks in advance