Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

3. OAuth Connectivity > Customizing the Callback

Customizing the Callback

As mentioned earlier, in order for the service provider to redirect users back to our application, we must provide them with a callback URL. OAuth-enabled connectors will automatically generate this for you and also provide additonal settings to customize and generate your own.

Customizing the Callback URL

The URL generated for the callback URL is built using localhost as the host, the http.port environment variable or localPort variable as the port, and a randomly generated string as the path in the URL. If these settings are not suitable, you can override them in your connector configuration. Each connector that uses the generic OAuth module provides you with a oauth-callback-config element to override these settings.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint