#3940 [Core feature] Introduce PreRedirectHook plugin which can be used during authflow before redirect
Issue created by
pmahindrakar-oss
Motivation: Why do you think this is important?
Usecase:
Want to able to add custom auth handlers post the IDP successful login but before the redirect happens.
This might be useful in cases where the auth flow allows the user to login since the IDP has been configured
for eg: to allow all users from a particular domain to login but you want to restrict access to only a particular set of user ids. eg :
users@domain.com are allowed to login but user
user1@domain.com,
user2@domain.com should only be allowed
Goal: What should the final outcome look like, ideally?
Add a plugin handler which hooks into the GetCallBackHandler before the redirect
Describe alternatives you've considered
None available
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte