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

Sample AccountController does not populate ViewBag.LoginProviders on Login #638

Closed
egorpavlikhin opened this issue Nov 18, 2015 · 3 comments
Assignees
Milestone

Comments

@egorpavlikhin
Copy link

ViewBag.LoginProviders is populated on GET Login action, but not on POST, which results in a RuntimeBinderException when trying to login.

https://github.com/aspnet/Identity/blob/dev/samples/IdentitySample.Mvc/Controllers/AccountController.cs#L42

@rustd
Copy link

rustd commented Nov 18, 2015

Update the sample to match the templates

@rustd rustd added this to the 3.0.0-rc2 milestone Nov 18, 2015
@HaoK
Copy link
Member

HaoK commented Dec 3, 2015

267d0ac

@HaoK
Copy link
Member

HaoK commented Dec 3, 2015

Fixed this specific login provider bug. Updating the samples entirely will be done later

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

No branches or pull requests

3 participants