You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the popup closes the console prints out the following error and it will not redirect:
bluebird.js?f684:1564 Warning: a promise was rejected with a non-error: [object Object] at eval (webpack-internal:///./node_modules/aurelia-auth/dist/commonjs/popup.js:123:11).
popup,js line 123:
reject({
data: 'Problem poll popup'
});
Log-in-component.ts authenticate code:
public authenticate()
{
return this.auth.authenticate('identSrv', true, null)
Using chrome developer tools i do see in the application page dat aurelia_token, aurelia_id_token, identSrv_nonce and identSrv have values so i assume the login did succeed.
aurelia-fetch-client.js?a909:287 GET http://localhost:5001/Identity 401 (Unauthorized)
(anonymous) @ aurelia-fetch-client.js?a909:287
tryCatcher @ bluebird.js?f684:5276
bluebird.js?f684:1564 Warning: a promise was rejected with a non-error: [object Response]
Looking at how the example is implemented, and my project, the redirect url ports and clientname are the only difference.
In the example i see to identity requests are being made:
Hi,
I have been working on a aurelia with webpack implementation for aurelia-auth so i can use it within projects but found two things that did not work.
I took https://github.com/paulvanbladel/aurelia-identityserver-aspnetcore from @paulvanbladel as a example.
Steps:
popup,js line 123:
Log-in-component.ts authenticate code:
Using chrome developer tools i do see in the application page dat aurelia_token, aurelia_id_token, identSrv_nonce and identSrv have values so i assume the login did succeed.
when trying to manually go to the api after the login i somehow get a 401 unauthorized:
Looking at how the example is implemented, and my project, the redirect url ports and clientname are the only difference.
In the example i see to identity requests are being made:
Looking at my implementation, which in code matches the fetch call that the example has, i only see one:
My auth-config.ts:
client config within my identityserver4 Config.cs:
package.json from the aurelia client:
Kind regards,
Walter
The text was updated successfully, but these errors were encountered: