# Auth0 integration with Discord Bot

**URL:** <https://community.auth0.com/t/auth0-integration-with-discord-bot/125894>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [January 28, 2024, 9:08pm UTC](https://community.auth0.com/t/auth0-integration-with-discord-bot/125894 "2024-01-28T21:08:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adhikari.harsh.kohli](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adhikari.harsh.kohli/32/48737_2.png) [@adhikari.harsh.kohli](https://community.auth0.com/u/adhikari.harsh.kohli)\
**Post date:** [January 28, 2024, 9:08pm UTC](https://community.auth0.com/t/auth0-integration-with-discord-bot/125894/1 "2024-01-28T21:08:12Z")

</div>

Working on a discord bot to configure from a 3rd party application.  
Planned workflow :

1. User joins discord
2. Goes to verify channel
3. Bot enforces them to enable a login
4. If successful the bot should assign role automatically to the user

Any documentation that might be useful to perform this process. So far we have implemented a login statement where the bot is able to process take and process login name. Looking to find a solution for how to access the login functionality.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [January 30, 2024, 11:19pm UTC](https://community.auth0.com/t/auth0-integration-with-discord-bot/125894/2 "2024-01-30T23:19:46Z")

</div>

Hi @adhikari.harsh.kohli

Welcome to the Auth0 Community!

Thank you for posting your question!

From the Auth0 point of view you will need to check the Role-Based Access Control. Regarding other concepts you will need to find a way to manage request by Bots. With that, Managment API and Authorization API you will be able to login and grant user roles. I would encourage you to check with discord community or check the discord-bot subreddit for help with bot implementation.

[https://auth0.com/docs/api/management/v2](https://auth0.com/docs/api/management/v2)

[https://auth0.com/docs/api/authentication](https://auth0.com/docs/api/authentication)

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 13, 2024, 11:20pm UTC](https://community.auth0.com/t/auth0-integration-with-discord-bot/125894/3 "2024-02-13T23:20:26Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
