# Use Discourse API to check whether username/password combination is valid

**URL:** https://meta.discourse.org/t/use-discourse-api-to-check-whether-username-password-combination-is-valid/246341
**Category:** Development
**Tags:** rest-api
**Created:** [November 21, 2022, 9:33pm UTC](https://meta.discourse.org/t/use-discourse-api-to-check-whether-username-password-combination-is-valid/246341 "2022-11-21T21:33:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [November 21, 2022, 9:35pm UTC](https://meta.discourse.org/t/use-discourse-api-to-check-whether-username-password-combination-is-valid/246341/2 "2022-11-21T21:35:35Z")

</div>

> [@Jonathan5](#):
>
> Or can you suggest some other way round this? I’d prefer to keep using Discourse as the main source of usernames/passwords.

There is [Use Discourse as an identity provider (SSO, DiscourseConnect)](https://meta.discourse.org/t/use-discourse-as-an-identity-provider-sso-discourseconnect/32974).

---

_[View the full topic](https://meta.discourse.org/t/use-discourse-api-to-check-whether-username-password-combination-is-valid/246341)._
