Instantly share code, notes, and snippets.

Embed
What would you like to do?
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