Skip to content
This repository has been archived by the owner on Sep 5, 2021. It is now read-only.

Connect site accounts with Discord accounts #3

Open
HiGuyMB opened this issue Aug 15, 2017 · 2 comments
Open

Connect site accounts with Discord accounts #3

HiGuyMB opened this issue Aug 15, 2017 · 2 comments
Assignees

Comments

@HiGuyMB
Copy link
Member

HiGuyMB commented Aug 15, 2017

No description provided.

@HiGuyMB
Copy link
Member Author

HiGuyMB commented Aug 20, 2017

Started a connect page on the site: https://marbleblast.com/pq/leader/api/Discord/ConnectAccounts.php

Only problem is that the OAuth2 hook for /users/@me doesn't recognize the key and 401s.

@JeffProgrammer
Copy link
Member

JeffProgrammer commented Aug 20, 2017

Login to PQ Online
during login, the server checks for the discord ID associated with your account.
   IF it does not have the id, THEN:
      we will pop up a new dialog box in the game.
      You will be asked to click a link to authenticate your discord account with us.
      You will go to the express route link that we have provided on our express server, 
                while this happens you get a nice little spinner saying authenticating.
      You will then accept it.
      IF you do not accept, then just login with no discord. **We will be very sad!**
      Else you are good to go!
   ENDIF
User logs into the game and sees the chat.

The point is the user doesn't see chat until discord is offered with authentication

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants