Getting a redux-oidc JavaScript error when I try to navigate to sign in, where would I fix it? - reactjs

I tried implementing redux-oidc by following the guide on the GitHub page. I am connecting to a IDP server built by me using identity server. I thought everything was set up properly but got the error below. How can I fix this or find the source of the issue?

Fixed it, the issue was happening because I needed to add Prevent Default to the button click.

Related

Hosted React application shows blank page onn refresh

I have created a basic react login application using an external API from the following docuumentation : https://javascript.plainenglish.io/basic-react-login-using-external-api-e33322e480cd
So, I have made few changes in the code for routing part and it was working fine in the localhost.
Later I have created a build file for the react application and hosted it on the server.
After hosting I encountered the page showing blank so when I looked for a solution I came across this How to fix the white screen after build with create-react-app?
and it says to overcome we have to add "homepage":".", in package.json file
so I have added it in the package.json and created a build file.
On hosting that build file I was able to successfully see the homepage, but later what the problem is I'm unable either refresh the page or login to the page using the credentials. When I perform either of those actions the page shows the error not found message.
Can anyone tell me what the problem I'm facing and any mistake in my application or it might be the problem on the server side.
What is the reason that making me not able to stay on page when refreshing and also why the page doesn't redirect to other page on entering the credentials.
The hosted application is this : https://www.bizwy.in/signin
My github repo of the project is this : https://github.com/BhupathiVenkataSaiCharan/auth-app
Let me know if you need something to exactly understand my problem. And guide me through the problem and help me solve it.

ABP.IO Custom basic theme compile errors

I am quite new to this ABP.IO framework. I am trying to create custom theme by following this guide. But I am getting the following errors,
Error MSB4019 The imported project "C:\Repository\tt\configureawait.props" was not found. Confirm that the expression in the Import declaration "......\configureawait.props" is correct, and that the file exists on disk. Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme C:\Repository\tt\EIOS-OS\src\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme.cspro
Error CS0103 The name 'LazyGetService' does not exist in the current
context Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme C:\Repository\tt\EIOS-OS\src\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme\Themes\Basic\LoginDisplay.razor.cs 33 Active
I commented out the references for .props files in the project file, but the second one is not going away. Please help me to understand these errors.
Regards,
Pradeep
I was getting the same error,I Decided to temporarily disable it by commenting out LazyGetService method until i get a proper solution but in the meantime the login Display component wont respond to state change.
For a proper fix I am thinking of creating my own custom Login Display toolbar in the main project.

Page not found after redirect from other site with parameters

I am trying to get a redirect working from site a to site b with a parameter in the url. For example, I want to go from example.com to mysite.com?code=abc
When doing so, I get a 404 error. The page could not be found. When I manually browse to mysite.com?code=abc , it does get found. Does anyone know what causes this issue? All help is greatly appreciated.
Seems like it's just Intellij which doesn't support this. I tried with another site and it turned out fine.

Not able to publish my actions for production release in dialogue flow

I have completed the overview section and finally was trying to publish my actions but whenever i click create a release button it does not show anything . I am struck on this. Is this server error or something else?
Finally, I was able able to solve this issue. The problem was causing due to a Ad blocker.

Redirect after script was executed

I am really new in webprogramming and using angularJs and ionic to create an app.
Here is my problem, morelikeley my issue that I want to deal with the right way:
I have got a button which will exchange some data with my server and then link to an other website.
I am now wondering if it is the correct way to add an ng-clicked on my button which then runs a script that talks to my server and after that calls the next website by $location.path()?
Problem with this is, that it always throws an error saying:
Error: $location is not defined $scope.click#http://localhost:8100/scripts/controllers.js:17:9 $parseFunctionCall#http://localhost:8100/lib/angular/angular.js:12237:15 #http://localhost:8100>/lib/ionic/release/js/ionic-angular.js:7788:9 $RootScopeProvider/this.$get</Scope.prototype.$eval#http://localhost:8100/lib/angular/angular.js:14291:16 $RootScopeProvider/this.$get</Scope.prototype.$apply#http://localhost:8100/lib/angular/angular.js:14389:18 #http://localhost:8100/lib/ionic/release/js/ionic-angular.js:7787:7 jQuery.event.dispatch#http://localhost:8100/lib/jquery/dist/jquery.js:4408:15 jQuery.event.add/elemData.handle#http://localhost:8100/lib/jquery/dist/jquery.js:4095:6 triggerMouseEvent#http://localhost:8100/lib/ionic/release/js/ionic.js:2641:3 tapClick#http://localhost:8100/lib/ionic/release/js/ionic.js:2630:3 tapMouseUp#http://localhost:8100/lib/ionic/release/js/ionic.js:2700:5
My other idea is to set an href on the button which links to the next website, but then i cannot ensure that my script was executed successfully before redirecting, or is there a way to handle this?
Thanks!

Resources