We are using WSO2 IS v5.4.1
We want to authenticate users based on external user data store. The desired steps:
- User logins via Oauth to WSO2 IS with username and password
- The login request is forwarded to an external service which authenticates the user by given username and password without authenticating by WSO2 IS default user store.
- The service returns some kind of desired response to WSO2 and based on this response some kind of business logic is performed.
I saw that there are 2 options to achieve this:
- Implement Custom Local Authenticator
- Implement Custom Federated Authenticator
What the is the correct approach?
Thanks,