code: func (o *OAuthProvider) IsSetup() bool {
  	if o == nil {
  		return false
  	}
  
  	return o.ID != "" && o.Secret != ""
  }
docs: // IsSetup returns true if OAuth provider(app,client) has ID and Secret. Should be always true for service's default provider