DMXzone Security Provider 2 Support Product Page

User authentication/get details from an App Connect API Data Source call/JSON response

Asked 19 Nov 2020 05:19:21
1
has this question
19 Nov 2020 05:19:21 Kent Angel posted:
Can you advise a way (or possible future functionality) to use the data from an App Connect API Data Source action (or perhaps a different extension), to validate a user login in DMXzone Security Provider 2?

Basically I need to:
- submit a PHP login form
- send the username/password to a custom API script that connects to an external webapi for user authentication
- the custom API either returns nothing if invalid details, or JSON user info if valid
- set the PHP session/cookie from user JSON
- then, POST the info from the JSON to an ASP script that sets the same user ASP session/cookie values

Replies

Replied 19 Nov 2020 08:34:42
19 Nov 2020 08:34:42 Teodor Kuduschiev replied:
Hello Kent,
Unfortunately that's not possible. Security provider only accepts dynamic data from a database table.

Reply to this topic