Custom database connection - how to retrieve client_id?

Hi,

I am trying to figure out a way to hook up Auth0 to our legacy system. If I use custom database login script, is there a way I can obtain the client_id from the javascript?

Thanks,
Yang

Hey @ylu, Welcome to the Auth0 Community!

We have quite a exhaustive set of documentation for the custom login scripts:
https://auth0.com/docs/connections/database/custom-db/templates/create

but client_id is available as a contextual information in Rules.