Skip to content

Instantly share code, notes, and snippets.

Jason jasonhjohnson

  • Florida
Block or report user

Report or block jasonhjohnson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View jwt_decode.js
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"
View login.js
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) {
@jasonhjohnson
jasonhjohnson / Property.cshtml
Last active Aug 29, 2015
Expressive Annotations Issue
View Property.cshtml
@Html.EditorFor(x => x.NewRenovationConstruction, new { options = yesNoListItems, @class = "radio-inline", @data_bind = "" })
You can’t perform that action at this time.