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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.