Has this issue been resolved? I am having the same problem.
This is my first attempt at publishing after doing a major upgrade of the ANZ platform. the code works fine (npm run start) but crashes when publishing (npm publish/npm run publish)
note: one difference is that in angular.json, in the "abp-zero-template" the "options" section has "aot": false, but in "production" section "aot":true. I was able to publish with "aot":false, and then having to also set "buildOptimizer":false, but that crashed our production server.
npm publish ... npm ERR! code E404 npm ERR! 404 Not Found - PUT https://registry.npmjs.org/abp-zero-template - Not found npm ERR! 404 npm ERR! 404 '[email protected]' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
============================================================================= npm run publish ... Error: Error: Could not resolve [object Object] / undefined at Scope.resolve (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1318:23) at Scope.resolve (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1315:36) at TcbExpressionTranslator.resolveTarget (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1877:35) at TcbExpressionTranslator.resolve (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1786:29) at AstTranslator.maybeResolve (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1771:84) at AstTranslator.translate (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\expression.js:74:33) at Object.astToTypescript (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\expression.js:55:27) at TcbExpressionTranslator.translate (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1771:33) at tcbExpression (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1759:27) at TcbUnclaimedInputsOp.execute (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:848:32) at Scope.executeOp (D:\stepwell-anz\src\Stepwell.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1428:26)[0m at Scope.render (D:{our project}\src{our project}.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1335:22) at TcbTemplateBodyOp.execute (D:{our project}\src{our project}.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:318:40) at Scope.executeOp (D:{our project}\src{our project}.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1428:26) at Scope.render (D:{our project}\src{our project}.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:1335:22) at Object.generateTypeCheckBlock (D:{our project}\src{our project}.Web.Host\node_modules@angular\compiler-cli\src\ngtsc\typecheck\src\type_check_block.js:58:37)
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] publish: gulp build && ng build --prod npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] publish script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I'm working with the ANZ version 10.1 Angulare with Core/dotNet5 connecting to an external authentication server using OpenIdConnect.
They have an authentication endpoint and a userinfo endpoint.
I added an entry for "UserInfoEndpoint" in the"OpenId" section of AppSettings.json I updated getOpenIdConnectConfig with: authConfig.userinfoEndpoint = loginProvider.additionalParams['UserInfoEndpoint']; authConfig.responseType = 'id_token token'; authConfig.scope = 'openid profile email';
unfortunately, externalAuthManager is not visible and ExternalAuthUserInfo is not modifiable.
So, my question is whether there is any way to map the access token and id token results to get more than just first name, last name, and email? The customer's auth server is theoretically sending us the first name, last name, and email plus username and authorization data including user roles.
thank you Rocco