darkyen / auth0-chrome-extension-poc Goto Github PK
View Code? Open in Web Editor NEWChrome Extension POC for Auth0
Chrome Extension POC for Auth0
branch: chrome_identity
I got this working (great work BTW), but obviously can't decode the resulting token with my global secret. Which brings up the security issue.
If my server were to ignore decoding with a secret, anyone - that was willing - could create a valid token and impersonate someone (if they actually knew, for example, their google id). That's no good.
Now I'm trying to get around that issue by using a custom Authorization
header scheme and hashing the generated secret. But then here we are again. An attacker could easily reverse engineer this and gain access.
Am I missing something here?
Hi, thanks for this great example.
One thing that happened to me is when i tried to login from chrome extension, i got 'invalid origin' with chrome-extension:// as the origin. i also tried to add 'chrome-extension://*' in the auth0 client setting, but it's still not working.
any suggestion to fix this?
Hey there, thanks for posting your repos. You posted 2 repos, one poc and one that isn't. The one that isn't says you need to white list the chrome extension id, however, each installation of the chrome extension generates a new id for my users doesn't it? So doesn't that mean if I whitelist MY id, my users ID won't be whitelisted for the callback url?
Also additionally , does the POC version of your repo, solve the issue I spoke about earlier, not sure if I'm being clear, I'm a newbie with AUTH0 so forgive me if it's dumb question.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.