Angular-auth-oidc-client: Question - v1.3.4, anyone seen this?

Created on 10 Aug 2017  路  9Comments  路  Source: damienbod/angular-auth-oidc-client

Have run 1.3.1 / 1.3.2 / 1.3.3 without issue. Went to latest version 1.3.4 and get the error shown in screen dump.

Looking at the code it appears the createAuthorizeUrl is making a call

var /** @type {?} */ customParams =
this.oidcSecurityCommon.retrieve(this.oidcSecurityCommon.storage_custom_request_params);
Object.keys(customParams).forEach(function (key) {
params.set(key, customParams[key]);
});

The 'customParams' object is null hence causing the issue I am seeing locally.

I have tried creating a new app from scratch using the quick start tutorial and still see this problem.

Thoughts?
Thanks!

untitled

bug

Most helpful comment

looks like 1.3.4 has a bug here. Use 1.3.3 and I'll fix today. Sorry

@pieman302 @vicver82 Thanks for reporting.

Greetings Damien

All 9 comments

I'm also getting an error with 1.3.4. I reverted back to 1.3.2 to keep working on my project. I'll post the error output here at the earliest opportunity.

looks like 1.3.4 has a bug here. Use 1.3.3 and I'll fix today. Sorry

@pieman302 @vicver82 Thanks for reporting.

Greetings Damien

@pieman302 @vicver82 @HWouters Reverted this and added tests, Version 1.3.5 must work again

@robisim74 The tests run local, but fail on the server, any ideas?

https://travis-ci.org/damienbod/angular-auth-oidc-client/builds/263122531

Are you calling an external url inside the test?

Yes, I can remove this, thanks

Maybe there is a way, but it is not simple: https://assertible.com/blog/how-to-run-api-integration-tests-on-ci

Usually it is better to create a mock backend or a mock service.

Thanks guys, appreciated :-)

fixed in version 1.3.5

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vicver82 picture vicver82  路  4Comments

nizarkhsib picture nizarkhsib  路  4Comments

cgatian picture cgatian  路  4Comments

toddtsic picture toddtsic  路  4Comments

profet23 picture profet23  路  3Comments