简体   繁体   中英

WSO2: Listener to hook into SAML authentication flow

Version: WSO2 Identity Server 5.4.1+

For audit purposes we wrote a UserOperationEventListener in order to hook into the authentication process by implementing doPostAuthenticate().

This captures API authentication and web login via form. Unfortunately the listener is not called when IS operates as a SAML SP to another 3rd party SAML IDP.

Question: Is there a Listener which is called when a SAML authentication is successful? Or is there another way to hook into the authentication flow to an external IDP?

Just an update in case anyone has the same requirements. We have now implemented an AuthenticationDataPublisher Listener which covers all session creation events. In addition with above UserOperationEventListener it covers:

  • Resource Owner Password Credential authentication
  • local authentication during code/implicit flows
  • login via upstream federated authentication eg SAML, OIDC
  • SOAP admin API authentication

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM