Hello everyone, happy halloween and happy holidays.
Is there a way to create an apikey for each user created as an admin, there is User API keys specification which needs user approval , is there a way to create per user apikey programmatically by using admin apikey ?
We are sharing the auth with another site (so that users need not create another account to use discourse) Now in the other webapp, would like to get some (non public) data of users and sometimes post on behalf of user
Or if the app is pulling data from Discourse in the browser then the user will be logged in already. Or if the app is pulling the data in some automated fashion on he backend then you can just use the global key.
So you’re going to want to post from the browser (Is what what “frontend” means?), so they’ll be logged in, so you just need to work out the CORS stuff, I think.
Yes, from the browser. Sorry if I was not clear. This is all happening from another webapp, user isn’t logged in and no iframing of discourse. the request originates from a browser passing the apikey as request Params
My understanding of apikeys is Once we have apikey of user, we can act on behalf of them from anywhere even from a console/terminal (curl or equivalent). No more CORS