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

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -