thopay / cli-discord-oauth

Creates a temporary flask server for discord authentication. Easily changeable to return user details, servers, and connections. Default setup is to check to see if a user is a member of a specific server. Returns an object containing user details and whether they are authorized or not. Originally designed for Mist #0069.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cli-discord-oauth

Creates a temporary flask server for discord authentication. Easily changeable to return user details, servers, and connections. Default setup is to check to see if a user is a member of a specific server. Returns an object containing user details and whether they are authorized or not. Originally designed for Mist #0069.

Example

With no changes to the script besides the sever ID to check for, here's what's returned for different cases.

User logs in and is authenticated

Case 1

User logs in but is not authenticated

Case 2

User does not login in time

Case 3

About

Creates a temporary flask server for discord authentication. Easily changeable to return user details, servers, and connections. Default setup is to check to see if a user is a member of a specific server. Returns an object containing user details and whether they are authorized or not. Originally designed for Mist #0069.


Languages

Language:Python 100.0%