-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JWT must have 3 parts #32
Comments
it sounds like you probably have an opaque access token in local storage instead of a JWT. Can you check what you have for your Which sample are you trying? Have you configured your |
Hey @chenkie thanks for your help, I have verified that the audience is correct and my api that has the same audience is working. Thanks, |
You can check for the token in local storage in dev tools, assuming you're storing it there as is done in the sample :) Basically we want to check whether the access token is a short string or whether it is a JWT which will be much longer. |
Ok, I looked at my access_token in localstorage and you suspected right. The access token is a short string about 14 characters |
What do I need to do to set the access_token with the JWT one? I am using the same pattern as example 1
|
those are the correct lines. The What do you have set as your |
I have the following in my auth0.WebAuth object |
Hmm you should be getting a JWT then. Maybe try creating another test API in Auth0 and see if anything changes. Otherwise we'll probably need to route you to support and get you to send in a HAR file. |
Is there any way I can get a jwt token as my access_token or is there a reason I am not? I have a jwt for my id_token but not my access_token. |
The |
oh ok, |
Ok "OIDC Conformant", was not turned on but I need to figure out how to fix my call back after I login. It is redirecting to my oauth domain and not my localhost for some reason. |
What do you have set as your callback? I should have asked earlier, but are you using Auth0Lock or auth0.js for your project? |
Auth0-js.
I have my local host set as my call back. But for some reason it redirects
me to an error page at stevenharrisdev.auth0.com/login/callback
…On Fri, May 26, 2017 at 9:59 PM Ryan Chenkie ***@***.***> wrote:
What do you have set as your callback?
I should have asked earlier, but are you using Auth0Lock or auth0.js for
your project?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHXNMpj2ajVKqDyhrK7uIeSUq8JA6o73ks5r95GFgaJpZM4Nl92k>
.
|
Also I am running angular 4 |
Ah ok--do you have your callback route set as an Allowed Callback URL in your client settings? |
Yep. I have double checked that all possible routes in the callback. I have
to turn oidc back to off for it to work
…On Sun, May 28, 2017 at 6:51 PM Ryan Chenkie ***@***.***> wrote:
Ah ok--do you have your callback route set as an Allowed Callback URL in
your client settings?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHXNMsB9sPXKGTblopObAMSY5n0cp_8gks5r-ghlgaJpZM4Nl92k>
.
|
Ok, but you're getting a JWT access token now? |
With the oidc off its back to where it was before. With oidc on it is not
giving me any tokens
…On Mon, May 29, 2017 at 9:07 AM Ryan Chenkie ***@***.***> wrote:
Ok, but you're getting a JWT access token now?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHXNMubGpXFS5Ov3U3JMH0i-AO7vbcQoks5r-tElgaJpZM4Nl92k>
.
|
Ok at this point it's probably best to send in a support request. It might be something specific to your account. |
Ok, you got a link. I am seeing nothing but articles
…On Mon, May 29, 2017 at 10:23 AM Ryan Chenkie ***@***.***> wrote:
Ok at this point it's probably best to send in a support request. It might
be something specific to your account.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHXNMlhd1p1uk7F1NhWLUp6pCutnkpfmks5r-uLbgaJpZM4Nl92k>
.
|
Did you check https://support.auth0.com? If you have a plan that comes with support then you can open a ticket. Otherwise you can post something in the community form here: https://community.auth0.com/ |
Ok I have restarted everything and created a clean copy of the embedded login branch..
I am just getting "Cross origin login not allowed." every time |
CORS error is only happening on the custom login and not when using AuthLock |
Any other details that come with the error? @luisrudge is there anything you can suggest we try given the cross-origin error? |
That is all I can find in the console error. It's not much to go on.
Side note. Using the auth lock I still have the same result with the
access_token. The access token is still not a JWT
…On Tue, May 30, 2017 at 1:19 PM Ryan Chenkie ***@***.***> wrote:
Any other details that come with the error? @luisrudge
<https://github.com/luisrudge> is there anything you can suggest we try
given the cross-origin error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHXNMq3fAdTzlvLrHVOCNmG-tPj0vXUYks5r_F2PgaJpZM4Nl92k>
.
|
I am getting the following error and I am not quite sure how to debug/fix it. Thoughts?
The text was updated successfully, but these errors were encountered: