# authentication method 10 not supported

**URL:** <https://discourse.diesel.rs/t/authentication-method-10-not-supported/195>\
**Category:** Uncategorized\
**Created:** [October 21, 2020, 5:45am UTC](https://discourse.diesel.rs/t/authentication-method-10-not-supported/195 "2020-10-21T05:45:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chasahodge](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.diesel.rs/chasahodge/32/96_2.png) [@chasahodge](https://discourse.diesel.rs/u/chasahodge)\
**Post date:** [October 21, 2020, 5:45am UTC](https://discourse.diesel.rs/t/authentication-method-10-not-supported/195/1 "2020-10-21T05:45:26Z")

</div>

So I’m new to diesel and postgreSQL and I’m doing a first time install of both running the diesel getting started tutorial. I’ve installed the lasted version or postgreSQL and diesel. When I run diesel setup it finishes with “authentication method 10 not supported”. and doesn’t create the database. What’s the solution for this issue? Thanks

---

<div class="post-metadata">

**Author:** ![weiznich](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.diesel.rs/weiznich/32/64_2.png) [@weiznich](https://discourse.diesel.rs/u/weiznich)\
**Post date:** [October 21, 2020, 7:41am UTC](https://discourse.diesel.rs/t/authentication-method-10-not-supported/195/2 "2020-10-21T07:41:08Z")

</div>

You need to use a database url that is compatible with the authentication methods supported by your postgres instance or you need to configure a compatible authentication method on server side. As this is not diesel related have a look into the corresponding postgres documentation: [https://www.postgresql.org/docs/current/auth-pg-hba-conf.html](https://www.postgresql.org/docs/current/auth-pg-hba-conf.html)
