Skip to content

Login fails when using a PostgreSQL internal database #225

@dpordomingo

Description

@dpordomingo

Login fails when using a PostgreSQL internal database

INFO[2018-03-22 17:10:23] request started                               http_method=GET http_proto=HTTP/1.1 http_scheme=http remote_addr="127.0.0.1:56504" uri="http://cat.sourced.tech:8080/api/auth?code=83a753980a4acfcb5cdc&state=w-RLrHCx0s3uXaq97M9msg%3D%3D" user_agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36"
ERRO[2018-03-22 17:10:24] get user from db: Error getting user from the DB: sql: Scan error on column index 4: can't scan a valid Role  http_method=GET http_proto=HTTP/1.1 http_scheme=http remote_addr="127.0.0.1:56504" uri="http://cat.sourced.tech:8080/api/auth?code=83a753980a4acfcb5cdc&state=w-RLrHCx0s3uXaq97M9msg%3D%3D" user_agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36"

the underlaying error is:

panic="interface conversion: interface {} is string, not []uint8"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions