Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Where is the Consent table? #40

Closed
MohammadKani opened this issue Feb 18, 2015 · 7 comments
Closed

Where is the Consent table? #40

MohammadKani opened this issue Feb 18, 2015 · 7 comments
Labels

Comments

@MohammadKani
Copy link

when i run this application,. it's create all tables (clinet, scopes, ...) but for Consent & Token there is no table ! where dose this project store consents? i think it's not in memory because it's work fine even after restart the app.

@brockallen
Copy link
Member

There are 3 different features (Scopes, Client, and Operational):
https://identityserver.github.io/Documentation/docs/ef/overview.html
You need to opt into each one.

@MohammadKani
Copy link
Author

i know, but just like default example in source code, i use this code :
(factory.RegisterOperationalServices(efConfig);

and it's look like the EF handle the consent or token values, but there is no Consent or Token table created in my db.
the project work correctly but i can not find out how

@brockallen
Copy link
Member

Oh I suspect you haven't done anything in IdSvr to yet create the tables (like consent, or code flow).

@MohammadKani
Copy link
Author

as the matter of the fact, i do !
and that's amaze me, how does it work even after restart the IdSvr, because if i misconfig anything, at least it should not remeber my Consent to test client, but id dose.
so just let be clear, if i all the things goes right and use IdSvr, there should be a Toke and Consent table in database?

@MohammadKani
Copy link
Author

i think there is a little bug, i just got the latest version and everything goes alright

thank you

@bureus
Copy link

bureus commented Jul 1, 2015

I have the same issue, i receive both ID, Access and Refresh tokens using scope offline_access and the authorization code flow. I do have entries in the consent table but nothing in the Tokens table..

@dotnetrules
Copy link

@MohammadKani I'm having the exact same issue as you did. I'm glad to hear you resolved it. Can I please ask from which branch did you grab the latest updates from which resolved this for you?

Also I'm interested as to how you manage and add new Clients, Scopes etc? Can you share what IdentityServer3.Admin project(s) you are using to achieve this?

Thanks 👍

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

No branches or pull requests

4 participants