Ready to post? First, try searching for your answer.
I have 5 applications in my test tenant. We use a Custom Database for Authentication, but we really need each of the 5 applications to connect to a different database we have on premise related to each application. Is that possible? I have spent a few hours trying to find a way to alter the login script to call a different API based on the client application, but I have not find any way within the script to identify the application that has called the login function.
Hi @rob.kraft,
Welcome to the Auth0 Community and sorry for the late reply !
Within the Custom Database Login script you can identify Generally the application that is making the request can be identified using itโs unique clientID, but this object is currently still inaccessible within the Custom Database Login script, so i would encourage you to upvote this Feedback request.
However, you can work around this by accessing the event.client_id using a Post-Login Action.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.