# How to disable google oauth2 login in the command line

**URL:** https://meta.discourse.org/t/how-to-disable-google-oauth2-login-in-the-command-line/270135
**Category:** SSO
**Created:** [June 30, 2023, 11:33am UTC](https://meta.discourse.org/t/how-to-disable-google-oauth2-login-in-the-command-line/270135 "2023-06-30T11:33:16Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [June 30, 2023, 2:32pm UTC](https://meta.discourse.org/t/how-to-disable-google-oauth2-login-in-the-command-line/270135/3 "2023-06-30T14:32:40Z")

</div>

Welcome, JW\_0! 👋

> [@JW\_0](#):
>
> i migrated discourse application to other server and i’m getting 400 status code from google auth and can’t login to discourse.

You could have done this 🙂

> [@How to login to Discourse by overriding SSO?](https://meta.discourse.org/t/how-to-login-to-discourse-by-overriding-sso/268437/2):
>
> I think the [YourSite]u/admin-login/ link can bypass SSO. +1

---

_[View the full topic](https://meta.discourse.org/t/how-to-disable-google-oauth2-login-in-the-command-line/270135)._
