# How to Use DreamFactory REST API Custom Authentication

**URL:** <https://community.dreamfactory.com/t/how-to-use-dreamfactory-rest-api-custom-authentication/5561>\
**Category:** REST API\
**Created:** [August 21, 2024, 12:56pm UTC](https://community.dreamfactory.com/t/how-to-use-dreamfactory-rest-api-custom-authentication/5561 "2024-08-21T12:56:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarethdf](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jarethdf/32/1393_2.png) [@jarethdf](https://community.dreamfactory.com/u/jarethdf)\
**Post date:** [August 21, 2024, 12:56pm UTC](https://community.dreamfactory.com/t/how-to-use-dreamfactory-rest-api-custom-authentication/5561/1 "2024-08-21T12:56:11Z")

</div>

Hi there,

I am working on a project that utilizes DreamFactory to manage our REST API endpoints & I need some guidance on implementing custom authentication methods; Our use case requires integrating a third party authentication provider with DreamFactory to handle user access & authorization.

I have been able to set up the basic DreamFactory environment & create the necessary end points for rest. I am facing challenges when it comes to customizing the authentication process.  
How can I configure DreamFactory to recognize and validate tokens from this provider?  
Is it possible to customize the authentication flow in DreamFactory?  
How can I map the user roles and permissions from the third party provider?? 🤔

Also i have check this: [https://community.dreamfactory.com/t/how-to-use-the-existing-users-table-to-dreamfactory](https://community.dreamfactory.com/t/how-to-use-the-existing-users-table-to-dreamfactory/3568) but my query is not resolve if there are any suggestion & resource please share with me.

I have reviewed the DreamFactory documentation & explored various configuration options but I am still unclear on the best approach to achieve these customizations.

Thank you in advance for your help!!
