You are here: Home / Someone please help. So close! Getting Discord User ID to populate Custom Gluu attribute discordUid during OAuth transaction

Someone please help. So close! Getting Discord User ID to populate Custom Gluu attribute discordUid during OAuth transaction

I have been hammering pro bono on a project for over a month now. With the help of two different teams from India (Jajati from Centroxy and Kalpesh from Xecurify), and various community support from the Gluu community (and unfortunately very little help or response from any of the Discord community so far), we finally were able to (yesterday) get basic authentication working between Gluu and Discord. Now just need this one last little step working to save this project today. If I can't figure it out, the ENTIRE PROJECT IS TOAST.

Just trying to get the distinctive Discord User ID from the "identify" scope (I believe) to populate a custom text user attribute in Gluu for a user, the field named discordUid we created. It needs to be filled in automatically during the OAuth flow between Gluu and Discord.

This actually has worked for weeks in Miniorange, but can't for the life of me get this last piece working in Gluu. Miniorange proves that the data is there and it is possible, it is just a matter of the right Gluu configuration tweak to make this work. But nobody who understands Gluu seems to really understand Discord, and nobody I can find that understand Discord knows anything about Gluu. I am desperate here. I have been doing this for free as as volunteer, but I will pay out of my own pocket to get this last piece working ASAP.

I has to be fairly easy and straightforward now that the rest of the hard work has been figured out, but need help ASAP.

 

Here is all the relevant information...

 

Manually looking at a Discord User's User ID number:

 

 

 

 

 

 

Here is all the information about what it took to get the basic authentication working between Gluu 3.1.6 and Discord. Thanks to Centroxy creating a working passport-discord.js Passport Strategy file in Gluu 4.1, I was able to eventually create a version for 3.1.6 that works at the basic authentication level.

Detailed here:

https://support.gluu.org/access-management/8530/getting-discord-passport-oauth-working-with-gluu-31x/

 

 

 

 UPDATE: Thanks to Centroxy we were able to get this resolved. See the above link for the details on the solution.

 

 

 

 

 

Navigation