TLDR: If you’re using the Authorization Code flow in a mobile app, Single page application, desktop app, or any other type of application that can’t store a client secret securely (i.e. the only place secure enough is your servers), then you should use the PKCE extension, which provides protections against other attacks where the authorization code may be intercepted and it does not require a client secret.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const operatorMachine = Machine({ | |
id: 'operator', | |
initial: 'inactive', | |
states: { | |
inactive: { | |
on: { | |
SET_AS_VISIBLE: 'visible', | |
ONBOARD: 'onboarded' | |
} |
I hereby claim:
- I am lbdremy on github.
- I am lbdremy (https://keybase.io/lbdremy) on keybase.
- I have a public key ASBQSAZ2QVu0xp1SRQ3iZfCtDMLzCu3HqcKdYMopRGkyIAo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html><html><head><title>Coverage</title><script> | |
headings = []; | |
onload = function(){ | |
headings = document.querySelectorAll('h2'); | |
}; | |
onscroll = function(e){ | |
var heading = find(window.scrollY); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '"\e[A": history-search-backward "\e[B": history-search-forward set show-all-if-ambiguous on set completion-ignore-case on' > ~/.inputrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE> | |
<html> | |
<script> | |
Object.defineProperty(console, '_commandLineAPI', | |
{ get : function() { throw 'Nooo!' } }) | |
</script> | |
<html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://plnkr.co/edit/HRb9KQLqOqQNxco2J9XM?p=preview |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var when = require('when'); | |
exports.resolved = when.resolve; | |
exports.rejected = when.reject; | |
exports.deferred = when.defer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Q = require('q'); | |
exports.resolved = Q.resolve; | |
exports.rejected = Q.reject; | |
exports.deferred = Q.defer; |
NewerOlder