# Authentication inline hook for Login?

**URL:** <https://devforum.okta.com/t/authentication-inline-hook-for-login/32867>\
**Category:** Questions\
**Tags:** widget\
**Created:** [April 8, 2025, 10:00pm UTC](https://devforum.okta.com/t/authentication-inline-hook-for-login/32867 "2025-04-08T22:00:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleandro](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@aleandro](https://devforum.okta.com/u/aleandro)\
**Post date:** [April 8, 2025, 10:00pm UTC](https://devforum.okta.com/t/authentication-inline-hook-for-login/32867/1 "2025-04-08T22:00:51Z")

</div>

I have a login widget, and I want to know if a user attempting a login has a particular condition to let the widget in the login response

Is there something like an authentication inline-hook?

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [April 9, 2025, 3:28pm UTC](https://devforum.okta.com/t/authentication-inline-hook-for-login/32867/2 "2025-04-09T15:28:50Z")

</div>

What kind of condition are you trying to key off of?

---

<div class="post-metadata">

**Author:** ![aleandro](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@aleandro](https://devforum.okta.com/u/aleandro)\
**Post date:** [April 9, 2025, 3:42pm UTC](https://devforum.okta.com/t/authentication-inline-hook-for-login/32867/3 "2025-04-09T15:42:38Z")

</div>

I’m trying to implement that if an already registered user gets flagged by any reason (another API checks this), to deny access if trying to login and redirect the widget to a custom page

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [May 9, 2025, 3:43pm UTC](https://devforum.okta.com/t/authentication-inline-hook-for-login/32867/4 "2025-05-09T15:43:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
