Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion authorization/authorization_code_pkce/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const scope = 'user-read-private user-read-email';
const currentToken = {
get access_token() { return localStorage.getItem('access_token') || null; },
get refresh_token() { return localStorage.getItem('refresh_token') || null; },
get expires_in() { return localStorage.getItem('refresh_in') || null },
get expires_in() { return localStorage.getItem('expires_in') || null }, // was "refresh_in"
get expires() { return localStorage.getItem('expires') || null },

save: function (response) {
Expand Down