How to get claim inside Asp.Net Core Razor View
<p>I did it in my rc1 project like:</p>

<pre><code>User.Claims.ElementAt(#).Value
</code></pre>

<p>But after I switched to rtm it wouldn’t work anymore. When I debug the Razor view the object looks the same but User.Claims is just empty. Any idea what the reason could be. </p>