Hello everyone o/
I’m currently building a Rails app and I’m using Devise
https://github.com/plataformatec/devise and Omniauth
https://github.com/intridea/omniauth (Google OAuth2 and Facebook) for
authentication. All users are going to have unique usernames. This is
problem when I’m using just a form, but when the users tries to sign up
using Omniauth, I can’t get a username that I can ensure is unique and
the criteria I’ve made for a valid username. If I do try to sign up with
it, it just redirects to the form that regular users would use to sign
I’ve thought about redirecting the user to a separate page where they
create a username, but I don’t know how I would go about this. Searching
the internet has not yielded any results either.
Does anyone know how I could accomplish this? I’m open to any ideas.