Skip to content

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.

Notifications You must be signed in to change notification settings

thopay/cli-discord-oauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages