app/controllers/api/callbacks_controller.rb
# The provider names must match those used on services.js and application.html.erb

The provider names must match those used on services.js and application.html.erb
The provider names must match those used on services . js and application . html . erb
def browser_id_info(raw)
    {
        authorization:
            {
                provider: 'persona',
                uid: raw[:email],
                token: raw[:issuer], 
                secret: raw[:expires], 
                name: nil,
                link: 'https://persona.org' 
            },
        user:
            {
                display_name: nil,
                email: raw[:email],
                is_fake_email: false,
                user_name: nil
            }
    }
  end
def browser_id_info ( raw ) { authorization : { provider : 'persona' , uid : raw [ :email ] , token : raw [ :issuer ] , secret : raw [ :expires ] , name : nil , link : 'https://persona.org' } , user : { display_name : nil , email : raw [ :email ] , is_fake_email : false , user_name : nil } } end
The provider names must match those used on services.js and application.html.erb
The provider names must match those used on services . js and application . html . erb
#id:
 #user_id
 # stores issuer instead
 # stores expires instead
 # link to external provider profile when logged in
 #created_at
 #updated_at

raw