You are not logged in.
Pages: 1
When using Basic Authentication, it looks as if Mormot only accepts the Authorized header details when a call to /auth is made. Any calls to other functions just check if the signature is included, but never the Authorized header.
TSQLRestServerAuthenticationHttpBasic.RetrieveSession only checks the the username and password in the header if there is a valid session, making it a bit pointless to include the Authorized header in the first place.
Is this correct / by design? Does this mean that the Authorized header can only be used when calling /auth and not to authenticate on the fly?
Is there a setting I can set to ensure that the authentication is always done when the Authorized header is included?
Offline
Does anybody have an example of using TSQLRestServerAuthenticationHttpBasic that works? I need to use basic authentication and look up the username and password from my own list (not orm).
Offline
Does anybody have an example of using TSQLRestServerAuthenticationHttpBasic that works? I need to use basic authentication and look up the username and password from my own list (not orm).
Same here and would like to know the solution.
Offline
Have a look at my article here:
https://tamingthemormot.wordpress.com/2 … word-hash/
Offline
Pages: 1