Getting User’s Theme - Replit Auth

Describe your feature request
Like how you can get the value of the header X-Replit-Username to get the user’s username once they are authed with Replit Auth, it would be nice to be able to request X-Replit-Theme to get the values of the theme the user is using.

What problem(s) would this feature solve?
It could let websites made by the community look better by syncing to user’s themes.

Explain what you were trying to do when you came across the problem leading to this feature request
I was making a website using Replit Auth instead of my own accounts, and wanted to make the site colored in user’s preferred way by syncing to their Replit theme.


It’s X-Replit-User-Name and I’m assuming they’d make it X-Replit-User-Theme if they added themes to it


Or you can just use GraphQL to query the user’s theme by user ID (assuming the query is unauthed, not sure if it is).


It’s authed sadly, I have already attempted that.


What would be the use of this? To apply the theme to your own website? :thinking:

What if they would want it separate from their Replit account in that case?


Yes. That way websites made on Replit will be custom-tailored to the individual.

ReplAuth could be made optional so that they don’t have to use that. ReplAuth merely uses Replit to confirm you are who you say you are and does not give away any private info (such as passwords).