Getting current logged-in user's username

Hey, I’m making an app that has to do with Roblox and I want to get the current logged-in user’s username or ID. Is there any way of doing this (preferably JSON) without the user having to do something manually?

Unfortunately, there is no way to do get the user’s username securely without some ‘manual’ check or your website becoming effectively malware.

However, the best way to do this is to get the logged in user’s username is using an oauth2 app for your website and have users ‘log in with Roblox.’ It does require manual interaction by the users but once they log in once, you can remember them forever using a cookie.

Read more about OAuth2 here: OAuth 2.0 overview | Documentation - Roblox Creator Hub

1 Like

Oh, ok, thanks.

./.,/.,/.,/.,./,./,./,./,.,/.,./

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.