hasura / hasura/graphql-engine

/console/login endpoint shows "Invalid admin-secret passed from CLI" even when the correct secret was passed

Open
#8,159 3 comments 1 reaction 0 assignees View on GitHub
k/bug
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

Server Version: 2.1.1
CLI Version (for CLI related issue): 2.1.1

### Environment

- Server running in Docker on `hasura/graphql-engine:v2.1.1` image
- Console running in Docker on image slightly customized from `alpine:3.15` image

### What is the expected behaviour?

Visiting `http://localhost:9695/console/login` should show me a login success message, or redirect me to the logged-in landing page.

### Keywords

"Invalid admin-secret passed from CLI"

### What is the current behaviour?

![image](https://user-images.githubusercontent.com/1834919/153099908-908f4f4a-4824-4a58-80be-2dd9af27505b.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.