Developer forum

Forum » Development » External Authentication using just back-end code

External Authentication using just back-end code

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I am not sure if the title is clear enough, I will detail.

I need a way to authenticate in another system but using the regular Sing in form from DW.

I was thinking maybe to use some notification in DW, execute my code, and then move on with the sign-in process, similar to how we do when using external providers.

Would it make sense?

What I would like to avoid is building an entire logic to clean and validate the data captured from a regular form and use the built-in logic from DW.

Thank you,
Adrian


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Adrian

I am not sure I understand the question.

You want to use DW as an authenticator for another application? Then you can use the webapi, /dwapi/users/authenticate, that will return a JWT token for a valid user.

BR Nicolai

 

You must be logged in to post in the forum