Will I be able to use sso if my user model comes from Hartl's Rails Tutorial?

Instead of using devise to build my webapp, I instead used the User model from Hartl’s Rails Tutorial. Will I be able to use sso with Discourse?

You can use SSO with anything, just need to implement the correct code to respond to the SSO request.