Comments (5)
Maybe it's the sample encoding tag? All the SDK does is relay the server information to you. If you inspect the requests int the dev tools, do you get the correct information?
from auth0-spa-js.
When I copy the returned id token to the debugger here: https://jwt.io, I'm seeing correctly decoded strings:
{
"nickname": "peterblazejewicz",
"name": "Piotr Błażejewicz (Peter Blazejewicz)",
"picture": "https://avatars3.githubusercontent.com/u/14539?v=4",
"updated_at": "2019-06-15T19:57:56.447Z",
"email": "{{}}",
"email_verified": true,
"iss": "https://blazejewicz.eu.auth0.com/",
"sub": "github|14539",
"aud": "Yo9lLpD5iyVxJApE12HQX2FrN8W4PWZr",
"iat": 1560628678,
"exp": 1560664678,
"nonce": "YqkOvc8n1XqH~NDBOOTydGGscuoLnvo1hTRC8Q.Cji1"
}
while auth0 client getUser
returns:
email: "{{}}"
email_verified: true
name: "Piotr B�ażejewicz (Peter Blazejewicz)"
nickname: "peterblazejewicz"
picture: "https://avatars3.githubusercontent.com/u/14539?v=4"
sub: "github|14539"
updated_at: "2019-06-15T20:13:01.371Z"
I assume it's being decoded on the client using the library here. The page bears the UTF-8
from auth0-spa-js.
Thanks for the help and context, @peterblazejewicz. I opened a PR to fix this #28
from auth0-spa-js.
You're welcome!
from auth0-spa-js.
released in @auth0/[email protected] 🎉
from auth0-spa-js.
Related Issues (20)
- "Misconfiguration in the system or a service outage" error in Auth0 HOT 3
- prompt in authorizationParams is not getting override. It is coming none even if it is set to other value like login. HOT 7
- Sophos Cyber Security Endpoint detects ransomware in the package HOT 3
- Total Cookie Protection breaks auth HOT 2
- Better error messaging when out of local storage quota? HOT 4
- Angular SSR window.crypto HOT 1
- User without Organization Membership caused infitine login redirect loop HOT 2
- NullInjectorError HOT 1
- Use '.well-known/openid-configuration' to configure Auth0Provider (Auth0Client) calls HOT 6
- Clarify limits for checkSession method HOT 7
- React Quickstart causing error upon clicking the login button HOT 2
- organization option of Auth0Client.getTokenSilently function is unexpectedly reuse previous value HOT 4
- Make getTokenSilently Generic HOT 2
- Support `getAccessTokenSilently` for multiple audiences in parallel HOT 1
- auth0-spa-js for multipage app? HOT 3
- Suport for multi tab sessions HOT 5
- Add configuration option for custom transaction storage
- LoginWithPopup doesn't work in Microsoft Word add-in on Mac HOT 3
- Extra redirect on silent login after upgrade to v2 HOT 9
- Implicit return in auth0-spa-js/src/cache /cache-manager.ts when TS "noImplicitReturns" is set to true HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth0-spa-js.