How to create a callback URL

The callback URL or Redirect URL for OneDrive app can be created two ways.
  • By creating a new web site and point to the approval.html. This file can be found in Autostore.OneDriveWebauthorization folder.
  • By using the OneDriveWebAuthorization service.
In both ways, SSL must be used because OneDrive app only accept Redirect URL with https.

The following steps show how to create a callback URL using the web service:

  1. Run AutoStore.OneDriveWebAuthConfigureTool.exe to start Web Authorization Server Configuration service.
  2. Set up the Web authorization server to use SSL. Note the port used for Web authorization service.
  3. Type https://server:port/Autostore.OneDriveWebauthorization/approval.html to the Redirect URL field.
    Servers mean the IP address for the server running the Web Authorization Service, and port means the port number that the Web Authorization Server uses to communicate with clients.
    https://192.168.1.91:3245/Autostore.OneDriveWebauthorization/approval.html
  4. Start the service.