Skip to content

Instantly share code, notes, and snippets.

@KacT9H
Last active May 10, 2017 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KacT9H/bc873b785624723a481d50b20e221e49 to your computer and use it in GitHub Desktop.
Save KacT9H/bc873b785624723a481d50b20e221e49 to your computer and use it in GitHub Desktop.
oauth:
providers:
bitbucket: #provider name
api: net.realizeideas.oauth.bitbucket.BitbucketApi #API path, it will be implemented bellow
key: 'xxxxxF5DfBeK9xxxxx' #API key received in the previous step
secret: 'xxxxxxGZKY8xqNUkjCyY7xxxxxxxxxxx' #API secret received in the previous step
successUri: '/' #App will be redirected there after successful getting Access Token
failureUri: '/' #App will be redirected there after failed getting Access Token
callback: '${grails.serverURL}/oauth/bitbucket/callback' #Oauth Controller is provided by Oauth Plugin, so you need to set a provider name only
debug: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment