lib/omniauth/strategies/nexaas_id.rb in omniauth-nexaas_id-0.1.0 vs lib/omniauth/strategies/nexaas_id.rb in omniauth-nexaas_id-0.1.1

- old
+ new

@@ -15,12 +15,16 @@ end info do { id: raw_info['id'], - name: raw_info['name'], - email: raw_info['main_email'], + name: { + first: raw_info['first_name'], + last: raw_info['last_name'] + }, + fullname: raw_info['full_name'], + email: raw_info['email'], picture_url: raw_info['picture'] } end extra do @@ -31,11 +35,11 @@ # Example: # # { # "id"=>"e9fa918b-a90e-49f3-86ec-e3ce92488a3e", - # "name"=>"John Doe", - # "main_email"=>"john@doe.com", + # "full_name"=>"John Doe", + # "email"=>"john@doe.com", # "emails"=>[{"address"=>"john@doe.com", "confirmed"=>true}], # "created_at"=>"2016-07-21T22:02:17Z", # "updated_at"=>"2016-07-21T22:02:17Z", # "_links"=>{ # "self"=>{