Skip to content
This repository has been archived by the owner on Feb 15, 2018. It is now read-only.

User Role not shared from utility to other MVC app #230

Open
rogersbrad opened this issue Jun 16, 2016 · 7 comments
Open

User Role not shared from utility to other MVC app #230

rogersbrad opened this issue Jun 16, 2016 · 7 comments

Comments

@rogersbrad
Copy link

rogersbrad commented Jun 16, 2016

I get the code installed and find out now, from somewhere else, that IdentityManager requires HTTPS?

able to get past https. for now by upgrading IIS to verstion 7.5

setup identity manager asp. created new mvc project. forced the IM database connection string to the mvc. set identities/users/roles with IM tool.

now my mvc app i can login with credentials from the IM tool. try to use roles? is not happening.

DID NOT KNOW the webconfig has to be modified to enable roles, and not sure of those settings but its in there.

errors out
Exception Details: System.Data.SqlClient.SqlException: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.

this is Authorize Roles= Admin22 which I created. was going to login screen, now gets the above error. problem with Roles.

http://stackoverflow.com/questions/37840130/how-to-integrate-identityserver-v3-v4-into-mvc-to-manage-user-roles-and-claims

@feifles
Copy link

feifles commented Oct 15, 2016

I'm having the same problem, did you manage to solve it?

Best regards

@rogersbrad
Copy link
Author

No, it flat out does not work, apparently never supports doing this. I had to write my own code to authenticate identities. real inconvenience but no other way. Several others had told me the same, and I had still tried to make it work which was a waste of time. Hope you find a solution that works

@brockallen
Copy link
Member

This error really has nothing to with IdentityManager -- it sounds more like how your EF layer is configured (or misconfigured).

@rogersbrad
Copy link
Author

Thats what I assumed also, seems obvious. I configured and tried different approaches, even manually configured settings thinking its got to be some basic setting here. Set each table entry perfectly, added dummy values. Doesn't work in this configuration

@brockallen
Copy link
Member

brockallen commented Oct 15, 2016

Bummer, sorry to hear. I'd suggest setting it up without IdentityManager (e.g. just AspId and a MVC app like the templates) and once that's working, then layer IdentityManager on top.

@feifles
Copy link

feifles commented Oct 15, 2016

I did follow the tutorial described on https://vimeo.com/125426951

Maybe it's an outdated tutorial? Should I follow another one?

2016-10-15 12:02 GMT-03:00 Brock Allen notifications@github.com:

Bummer, sorry to hear. I'd suggest setting it up without IdentityManager
(e.g. just AspId and a MVC app) and once that's working, then layer
IdentityManager on top.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#230 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0pt3UNs99h6jyq_sf7g7GttwDyTJysks5q0Or4gaJpZM4I3rPX
.

Raphael Araujo Lima

@rogersbrad
Copy link
Author

Would be nice if IdentityManager had the most simple script that could be run to check various parameters on the users project and report what is missing or what failed to load from the IM perspective.

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

No branches or pull requests

3 participants