Verify Oauth Mapping to set Oauth provider in Devops system Spinnaker

Andres LeonRangel May 3, 2020

Hi,

Need to confirm if this mapping is correct for BitBucket Cloud??

I am trying to set up Oauth 2.0 authentication in Spinnaker (https://www.spinnaker.io/setup/security/authentication/oauth/#bring-your-own-provider)

Unfortunately i am not so sure about the mapping of URLs and userInfo. 

 

security: 
oauth2:
client:
clientId:
clientSecret:
userAuthorizationUri: https://bitbucket.org/site/oauth2/authorize
accessTokenUri: https://bitbucket.org/site/oauth2/access_token
scope: ''
resource:
userInfoUri: https://api.bitbucket.org/2.0/user
userInfoMapping: # Used to map the userInfo response to our User
email: email
firstName:
lastName:
username: username

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events