Forum Discussion
APM reading user attributes from local database
Hello,
Any clue to read the email address of a user created on local database as this email address is required to send the OTP to it,
I know that there are ready template and the user can enter his email address on the login page, but we need the OTP to be sent to the email address of the user who try to login it
it is easy if the user is created on AD right? so we can query the AD for that attribue but when can be done if the user on local database?
3 Replies
- Injeyan_Kostas
Nacreous
Hello,
With AD is very easy indeed, but unfortunately with local db personal information is not accessible to an access policy.
If you just not have an AD you can use any ldap too. With ldap you can also do query an fetch user attributes like email etc. Local db is very limited and cannot serve what you ask.
- Injeyan_Kostas
Nacreous
Thinking again there might be a dirty workaround.
You could create a datagroup with local db username as key and email as value.
Then in you policy you will have the username from the login page and then you can execute an irule to read the email from the datagroup.
Not a great solution but might work.
- Melissa_C
Moderator
Hello User100000,
Thank you for posting to our community. I noticed your post has been up for some time with no update from the responses you have received. If the answers provided by Injeyan_Kostas have helped you or if you have found answers outside of your post, we would greatly appreciate if you would update the post and mark as solved. This will help both you and other members in the future who may have the same inquiry.
Thank you for being a part of our DevCentral Community!
-Melissa
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com