Validate Bitbucket OAuth2 to enable Oauth in Spinnaker CD tool

Hi i am trying to set up Spinnaker.io with Oauth authentication.
I have been following docs from Attlasian

Help me to confirm if what i have in the YAML file below should be the right config relating to Bitbucket?
Specially userInfoUri and userInfoMapping

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