Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database scope check fails #69

Closed
ArturoDiez opened this issue May 18, 2020 · 0 comments
Closed

database scope check fails #69

ArturoDiez opened this issue May 18, 2020 · 0 comments

Comments

@ArturoDiez
Copy link

Hi, I've been some days trying to use the server and I'm having a problem that is bothering me and I can't understand where it comes from.

I've used consul and postgres to setup the server. When I'm login in, the client and user checks go well, but it doesn't find the scopes I created in my database.->

[2.68ms] SELECT count(*) FROM "oauth_scopes" WHERE "oauth_scopes"."deleted_at" IS NULL AND ((scope=('read'))) [0 rows affected or returned ]

The same goes with the "is_default" check. If I try to search it using exactly the same code in my database, the rows actually appear with no problem.->

`go_oauth2_server=# SELECT count(*) FROM "oauth_scopes" WHERE "oauth_scopes"."deleted_at" IS NULL AND ((scope=('read'))) ;
count

 1

(1 row)`

Thanks in advance for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant