debugfix/Add more logging at OAuthHandshake oauth/initiate

This commit is contained in:
Marko Milić 2021-05-20 15:40:34 +02:00
parent 63bddaddda
commit be9d6bb418

View File

@ -63,6 +63,7 @@ object OAuthHandshake extends RestHelper with MdcLoggable {
//Handling get request for a "request token"
case Req("oauth" :: "initiate" :: Nil,_ , PostRequest) =>
{
logger.debug("Hello from oauth/initiate POST")
//Extract the OAuth parameters from the header and test if the request is valid
var (httpCode, message, oAuthParameters) = validator("requestToken", "POST")
//Test if the request is valid