# Alternate login method with SSO

**URL:** https://meta.discourse.org/t/alternate-login-method-with-sso/142894
**Category:** SSO
**Created:** [February 28, 2020, 3:51pm UTC](https://meta.discourse.org/t/alternate-login-method-with-sso/142894 "2020-02-28T15:51:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gi1242](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gi1242](https://meta.discourse.org/u/gi1242)
#### Post date: [February 28, 2020, 3:51pm UTC](https://meta.discourse.org/t/alternate-login-method-with-sso/142894/1 "2020-02-28T15:51:54Z")

</div>

Hi All,

I know that when SSO is enabled, it will be the only sign in method. But I don’t want that…

1. I’d like users from my university to have an option to login with SSO.

2. I’d like all users to have an option to login by creating a local account.

My University doesn’t provide an Oauth2 ID, so I can’t simply use OAuth2 instead of SSO. Any ideas? Or is this frowned upon for some reason?

Thanks,

GI

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [February 28, 2020, 4:44pm UTC](https://meta.discourse.org/t/alternate-login-method-with-sso/142894/2 "2020-02-28T16:44:02Z")

</div>

If you want multiple methods of login you shouldn’t use SSO.

You can write a plugin that implements your university login protocol as an omniauth strategy, following examples like [GitHub - discourse/discourse-linkedin-auth: LinkedIn OAuth Login support for Discourse · GitHub](https://github.com/discourse/discourse-plugin-linkedin-auth), [GitHub - discourse/discourse-steam-login: Allows user authentication with discourse via the Steam user API · GitHub](https://github.com/discourse/discourse-steam-login) and [GitHub - discourse/discourse-plugin-discord-auth: A Discourse plugin to login over Discord · GitHub](https://github.com/discourse/discourse-plugin-discord-auth).

That way you can have the plugin and local logins enabled at the same time.
