origam.com

Endpoints for Login / Logout

In Origam Flash version, we have special endpoints named “AjaxLogin” and “AjaxSignOut” for signing in and signing out the user. Would it be possible to create similar endpoints also in the HTML version?

This would save us from a huge effort of implementing login/redirect screens on top of the identity server for all our booking wizards.

Unfortunately we are not going to go this way. The first reason is that this way is considered as insecure and we care about security. OAuth 2.0 workflows are considered a standard these days for a reason.

Another reason is that we allow other OAuth providers, e.g. Google or Microsoft Azure Directory and we have the UI implemented in our login screen that allows to use those providers. There would be no way how to do this using an API.