Newbie - Login User

I’m new to 8base, and the coding world. I’m trying to stand up a basic app using Bravo Studio and create basic authentication with 8base.

I was wondering how or what query needs to be done in order to log a registered user in and what query to register a user.

I appreciate your help :slight_smile:

Hey there! I’ve never heard of Bravo. Looks cool.

Check these out:

Hey Sebastian, This is quite helpful. One thing though. I’m trying to use the userlogin mutation but does this require a token to do? and if so what do I do with the access token once the user has logged in successfully?

Once you get the authentication payload back, take the idToken from the auth result. You’ll want to add that as an Authorization: Bearer {idToken} header to all your subsequent API requests!