https://supertokens.com/ logo
Title
t

tymek65

11/05/2022, 1:21 PM
Hey, I've found docs about api keys and I set them up, how can I use them now?
r

rp

11/05/2022, 4:18 PM
Hey! Checkout our docs and pick a guide to follow.
t

tymek65

11/05/2022, 4:20 PM
I've found a guide but there are only steps for adding api keys but not how to use them
That's what I've followed
I'm not sure if I got this correctly but I want to use those api keys for my backend to make some changes in users metada
r

rp

11/05/2022, 4:22 PM
The api key is used to query the core.
Do you mean how to use the api key in postman to query the core?
It goes as a header in the request. The header key is “api-key”
t

tymek65

11/05/2022, 4:23 PM
I thinks thats it
Will check it out
Also one more thing, how could I add a username for user? Should I add it in metada?
And will that metadata be returned when logging in?
r

rp

11/05/2022, 4:24 PM
Yea. You can add that in the username. And you can fetch it during login. Yes. But it won’t enforce username uniqueness across users
t

tymek65

11/05/2022, 4:25 PM
By fetch you mean do another request after user is logging in or will it come in user object returned by signin endpoint
r

rp

11/05/2022, 4:27 PM
Another request.