[BUG] #638
Replies: 3 comments
-
@nagarajanceg sorry, not going to go through how to trigger Big picture seems to be that you want to have fully functional SAML SLO meaning that you want to have also handling of IdP sends After your question about how to trigger SLO process would be solved the next question would be how to send More information about aforementioned BTW. maybe you are already in a process of starting to use oidc because code snippet that you posted shows that you are configuring
BTW2. you mentioned that you use |
Beta Was this translation helpful? Give feedback.
-
@srd90, we have tried to upgrade to |
Beta Was this translation helpful? Give feedback.
-
@nagarajanceg just one random side note:
you have not enabled Also in the future consider providing proper title to bug reports. Now title says just "[BUG]" (and this particular bug report you provided was more like a question which could have been asked at discussions section). (ping @trmpowell I'm not quite sure whether your answer meant that you are working on same project/codebase but if you are then you ought to be notified also about aforementioned |
Beta Was this translation helpful? Give feedback.
-
The application using single sign on flow in Azure AD using the npm package passport-saml.
Application built in nodejs express framework.
passport saml Configuration looks like this snippet:
filename - config.js
In the above config entry point & logoutUrl is same. 1) Is it possible to have same URL for both logout & login(entry point) in passpor-saml?
Code snippet for express app which consumes passport SAML strategy to connect Azure AD.
filename - connect.js:
Up to this point it's possible to do SAML auth in Azure AD and received the login callback as well. Note: Login callback properly configured in Redirect URI's of Azure AD application.
Moving on, having a problem in performing logout on an express app router.
LogoutUrl is configured in Azure AD application settings
Whenever app hits movelogout route and it needs to logout Azure Ad session. 2) How it's possible to issue a logout request to Azure AD inside this route using passport-saml strategy?
Code continues
filename: connect.js
In the nutshell, I have been trying to accomplish Azure Single sign out SAML protocol using passport-saml. The link having SAML logout request and it's not having explanation in javascript way of issuing SAML request.
I am not quite sure with relation between logoutUrl in config & front-end logout Url in Azure setting. During login passport.authenticate method does all the SAML to (Identity provider) IDP. Even though logout url is configured in passport-saml and it's not sure when it needs to be used to issue logout request to IDP.
Any suggestions or solutions to perform Azure AD session logout manually are much appreciated!
Environment:
Node 10V
passport-saml : 2.0.1
Beta Was this translation helpful? Give feedback.
All reactions