Skip to content

Invalid Credentials using August API #12

@ddivita

Description

@ddivita

I've tried the API and looked through some of the other issues here to understand the API. Here are my steps:

Sign In:
Request Body:
{ "identifier":"phone:+1{{MyPhoneNumber}}", "installId":"eed23768-4c85-4d32-b0e4-e3e58d657480", //gerated UUID "password":"{{MyPassword}}" }

Headers:
"x-august-api-key":"79fd0eb6-381d-4adf-95a0-47721289d1d9"

Response:
{ "installId": "eed23768-4c85-4d32-b0e4-e3e58d657480", "applicationId": "", "userId": "", "vInstallId": false, "vPassword": false, "vEmail": false, "vPhone": false, "hasInstallId": true, "hasPassword": true, "hasEmail": true, "hasPhone": true, "isLockedOut": false, "oauth": {}, "homeAccess": "", "captcha": "", "email": [], "phone": [ "phone:+1<My PhoneNumber>" ], "expiresAt": "2021-09-29T13:01:30.685Z", "temporaryAccountCreationPasswordLink": "", "iat": 1622552490, "exp": 1632920490, "LastName": "", "FirstName": "" }

I copied the x-august-access-token from the response.

I then verified my phone and email using the Send password reset email and Send password reset phone Using the x-august-access-token from the original request I sent the Send password reset email and got an email with the code. I sent the Verify Email request and copied the x-august-access-token to be used with the Send password reset phone and got a code sent to my phone. I then called the Verify Phone request and copied the x-august-access-token. I then try calling any of the GET requests that donot require a body and receive this message:

{ "code": "InvalidCredentials", "message": "access token not associated with a user" }

The API Key and Kease Api Key are set properly. Are there any other steps I should be following?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions