> ## Documentation Index
> Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# onAuthFlowClose

### Summary

This callback will be called after the auth flow modal is closed.

### Usage

```TypeScript
<DynamicContextProvider
  settings={{
    events: {
      onAuthFlowClose: () => {
        console.log('onAuthFlowClose was called');
      }
    }
  }}
>
 {/* ... rest of your app ... */}
</DynamicContextProvider>
```

### Callback Argument Value

None
