# Locked out of admin panel

**URL:** https://meta.discourse.org/t/locked-out-of-admin-panel/122211
**Category:** SSO
**Created:** [July 5, 2019, 11:43pm UTC](https://meta.discourse.org/t/locked-out-of-admin-panel/122211 "2019-07-05T23:43:17Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mcki0127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcki0127/32/201965_2.png) [@mcki0127](https://meta.discourse.org/u/mcki0127)
#### Post date: [July 5, 2019, 11:43pm UTC](https://meta.discourse.org/t/locked-out-of-admin-panel/122211/1 "2019-07-05T23:43:17Z")

</div>

I just enabled SSO in the admin panel. However, I think I made a mistake. The user on the parent site has a different password from the admin account on discourse. Consequently, it created a new user. Instead of username, it created an account username1, and now I can’t login as username.

Sam’s original post says to go to /users/admin-login and follow the instructions. But [forum.mysite.com/users/admin-login](http://forum.mysite.com/users/admin-login) just redirects back to [forum.mysite.com](http://forum.mysite.com).

Any help is appreciated!

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [July 5, 2019, 11:43pm UTC](https://meta.discourse.org/t/locked-out-of-admin-panel/122211/2 "2019-07-05T23:43:53Z")

</div>

Try `/u/admin-login`. `/users` is no longer used.

---

<div class="post-metadata">

### Author: ![mcki0127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcki0127/32/201965_2.png) [@mcki0127](https://meta.discourse.org/u/mcki0127)
#### Post date: [July 5, 2019, 11:46pm UTC](https://meta.discourse.org/t/locked-out-of-admin-panel/122211/3 "2019-07-05T23:46:20Z")

</div>

Thanks for the quick reply! That has the same effect. Is it because I’m already logged in? I can’t really log out. It just logs me back in.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [July 5, 2019, 11:48pm UTC](https://meta.discourse.org/t/locked-out-of-admin-panel/122211/4 "2019-07-05T23:48:11Z")

</div>

Yes, if you’re already logged in, it’ll redirect to the homepage. Use incognito/private mode in your browser (or use another browser) to log in using `/u/admin-login`. From there you can force log out `username1`.

---

<div class="post-metadata">

### Author: ![mcki0127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcki0127/32/201965_2.png) [@mcki0127](https://meta.discourse.org/u/mcki0127)
#### Post date: [July 6, 2019, 12:04am UTC](https://meta.discourse.org/t/locked-out-of-admin-panel/122211/5 "2019-07-06T00:04:52Z")

</div>

Well, that worked, but it just logged me in as username1 again. And my username on the parent site was wiped out. Somehow it associate my parent site account with username1 and now it doesn’t seem to recognize username any longer.

---

<div class="post-metadata">

### Author: ![mcki0127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcki0127/32/201965_2.png) [@mcki0127](https://meta.discourse.org/u/mcki0127)
#### Post date: [July 6, 2019, 12:08am UTC](https://meta.discourse.org/t/locked-out-of-admin-panel/122211/6 "2019-07-06T00:08:37Z")

</div>

Nevermind. I had to click the login link from the other browser window. :upside_down_face:

Thanks for the help!!

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [July 8, 2019, 10:00pm UTC](https://meta.discourse.org/t/locked-out-of-admin-panel/122211/7 "2019-07-08T22:00:15Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
