spring - Failed login and redirect from Okta login page -
i using spring security authenticate saml , okta, works, able authenticate user , access secured urls within application. far good.
now have requirement special type of 'internal' users use different authentication mechanism (those users not in ad nor okta) - if authentication fails using okta want display different login page. problem unable redirect okta login page custom page after unsuccessful login, seems okta not redirect after many unsuccessful attempts.
is there way implement such requirement?
you can't redirect okta on failed authentication. need determine type of authentication use prior validating username , password. okta supports application based custom login page , when user tries access application, okta redirects login page. there login page determine authenticate user.
okta configuration custom login page
you can use okta's authentication apis , sdks authenticate against ad , custom code.
Comments
Post a Comment