# SSO and Screened IPs

**URL:** https://meta.discourse.org/t/sso-and-screened-ips/172638
**Category:** SSO
**Tags:** rest-api
**Created:** [December 8, 2020, 2:44pm UTC](https://meta.discourse.org/t/sso-and-screened-ips/172638 "2020-12-08T14:44:19Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)
#### Post date: [June 7, 2021, 10:45am UTC](https://meta.discourse.org/t/sso-and-screened-ips/172638/4 "2021-06-07T10:45:15Z")

</div>

> [@Can't SSO due to blocked IP addresses](https://meta.discourse.org/t/cant-sso-due-to-blocked-ip-addresses/192588/4):
>
> It sounds like you are calling the “delete as spammer” function, which will automatically blocklist the IP and email address. I think you should revisit that code. You want “plain delete” per the UI, not “delete as spammer”.

That could be, although I think not? I’m using the only [delete a user](https://docs.discourse.org/#tag/Users/paths/~1admin~1users~1%7Bid%7D.json/delete) endpoint I found:

`DELETE /admin/users/{id}.json`

which does have a `block_ip` parameter defaulting to true and that I always set to false. IPs are being added to Screened IPs nonetheless.

---

_[View the full topic](https://meta.discourse.org/t/sso-and-screened-ips/172638)._
