# help

Shubham Sinha

06/07/2022, 4:56 PM
I'm facing issue in accessing private route. Non authenticated routes are working perfectly. I am trying to use token obtained from signin api. Repo for reference:
Copy code
  "status": 403,
  "headers": {
    "content-length": "23",
    "content-type": "application/json"
  "body": "{\"message\":\"Forbidden\"}"
I'm following this guide: but can't find signInAliases as well


06/07/2022, 6:02 PM
Hey @Shubham Sinha, that’s a typo, it meant to say
Copy code
We are using the `login` prop to state that we want our users to login with their email.
Updated the chapter.

Shubham Sinha

06/08/2022, 5:51 AM
I'm getting USER_SRP_AUTH is not enabled for the client. My use case is following: 1. Endpoint to create user via API 2. Confirm, SignIn user using API 3. Password reset using API I am able to do all of these via non authenticated routes in Using SignIn API I am able to get tokens access and refresh. But when I'm passing access_token the request isn't getting authenticated. Earlier I had faced an issue where I was getting error USER_PASSWORD_AUTH not enabled.
@Frank When I configure auth by following this:
Copy code
new Api(stack, "Api", {
  authorizers: {
    pool: {
      type: "user_pool",
      userPool: {
        id: auth.userPoolId,
  defaults: {
    authorizer: "pool",
  routes: {
    "GET /": "src/lambda.main",
Now I'm getting this error.
Also my login API has stopped working. InvalidParameterException: Missing required parameter SRP_A". Don't know how to generate SRP_A