Skip to content

Latest commit

 

History

History

mauth-signer-akka-http

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

MAuth Signer Using Akka HTTP

This is an implementation of Medidata Authentication Client Signer to sign the Http requests

Usage

  1. Configuration

    • MAuth uses Typesafe Config. Create application.conf on your classpath with the following content. The sign_versions option can be set to sign outgoing requests with Comma-separated protocol versions to sign requests. the default is v1. If the both v1 and v2 specified, the client sign requests with both x-mws-xxxxx and mcc-xxxxx headers

app {
    uuid: "aaaa-bbbbb-ccccc-ddddd-eeeee"
    private_key: "avasdfasdfadf"
}
mauth {
    sign_versions: "v1,v2"
}
  1. Sign requests using Akka HttpClient