We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
SignNow
SignNow

Three-Legged Oauth

  • Last updated on

Ruby apps can use the omniauth-sign-now[1] library to simplify this process.

Step 1: Redirect user to SignNow auth page; provide a redirect uri for the user to return to once they have authorized your application at https://www.signnow.com/[2].

https://eval.signnow.com/proxy/index.php/authorize?client_id={CLIENT_ID}&response_type=code&redirect_uri={YOUR_REDIRECT_URI}

example: https://eval.signnow.com/proxy/index.php/authorize?client_id=123412341234abcacbacba&response_type=code&redirect_uri=http://my.redirect.uri

Step 2: After the user has authorized your application at signnow.com, they will be redirected to the redirect uri that you provided; a code query parameter will be provided. 

http://your.redirect.uri?code={CODE}

Step 3: Use the provided code parameter to get an access token from SignNow.

curl https://api-eval.signnow.com/oauth2/token --header "Authorization: Basic {BASIC TOKEN}" --data 'grant_type=authorization_code&code={CODE}'

Last updated on