dcparker/ruby-gmail

Invalid credentials on University ID

Salinn opened this issue · 1 comments

I was can login using one of my normal gmail accounts but I could not with my @rit.edu email. Although it does not look like it RIT uses gmail. I know that the problem is that the part after the user mail

meta.username = username =~ /@/ ? username : username + '@gmail.com'

Is there a way to possibly pass in an optional parameter for the part after the @ or allow people to pass in their entire email?

You need to specify your entire email as your username, then it will work. The regex check appends gmail.com for you if you only specify your local part.