How to use custom OAuth verification with DiscourseConnect?

Update on my question:

  1. Do I have to encode the URL with base64 or can I just leave it normal without encoding it?
  2. How would I return data? Is it something like:
return {
        "permalink": roblox_info.user.username,
        "username": roblox_info.user.username, 
        "uri": roblox_info.user.profile_uri, 
        "avatar_url": roblox_info.user.generate_headshot(size=420, format="jpeg", is_circular=True),
        
        # These I would like to be user fields (either public or private)
        "group_rank": group_rank,  # Public User Field
        "discord_id": discord_id,  # Private User Field
        "roblox_id": roblox_info.user.id, # Private User Field
    }