Skip to content

Instantly share code, notes, and snippets.

@jasonhjohnson
jasonhjohnson / Property.cshtml
Last active August 29, 2015 14:14
Expressive Annotations Issue
@Html.EditorFor(x => x.NewRenovationConstruction, new { options = yesNoListItems, @class = "radio-inline", @data_bind = "" })
this.lock.show({
container: 'hiw-login-container',
authParams: {
device: 'Web App',
scope: 'openid nickname email offline_access app_metadata', // offline_access needed for refresh tokens
response_type: 'code'
}
},
(err, profile, token) => {
if(err) {
Object {nickname: "mynickname", email: "my@gmail.com", email_verified: true, app_metadata: Object, iss: "https://myauthsite.auth0.com/"…}
app_metadata: Object
aud: "...auid"
email: "my@gmail.com"
email_verified: true
exp: 1455167800
iat: 1455131800
iss: "https://myauthsiete.auth0.com/"
nickname: "mynickname"
sub: "auth0|alongguididhere"