Skip to content

redirect_mismatch v0.20.0 #249

@tormodmacleod

Description

@tormodmacleod

hello,

i'm new to restish. i installed it and configured it the same as a colleague

$ cat ~/.config/restish/apis.json
{
  "$schema": "https://rest.sh/schemas/apis.json",
  "cp": {
    "base": "https://some_aws_api_gateway_url.eu-west-1.amazonaws.com/dev",
    "profiles": {
      "default": {
        "auth": {
          "name": "oauth-authorization-code",
          "params": {
            "authorize_url": "https://some_aws_cognito_endpoint.eu-west-1.amazoncognito.com/oauth2/authorize",
            "client_id": "some_client_id",
            "scopes": "openid email profile cp/api",
            "token_url": "https://some_aws_cognito_endpoint..eu-west-1.amazoncognito.com/oauth2/token"
          }
        }
      }
    },
    "tls": {}
  }
}

his set up worked, mine didn't. it looks like it's an issue with version 0.20.0 as he was running version 0.19.0

$ ./restishv19 --version && rm ~/.cache/restish/cache.json 
restishv19 version 0.19.0
$ ./restishv19 cp

the above works fine but

$ ./restishv20 --version && rm ~/.cache/restish/cache.json 
restishv20 version 0.20.0
$ ./restishv20 cp

produces the following error in the browser

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions