Skip to main content

All Questions

0 votes
1 answer
1k views

I am getting issue of Missing "code verifier"

We are working on one of our projects with next.js v12.0.10 and next-auth v3.29.3. While we are doing login, we are redirecting to our other project having an Identity server with react.js. After ...
Kishan Makkar's user avatar
4 votes
2 answers
779 views

ASP.NET Core 6 React app with Individual accounts using SQLite 401 Unauthorized error

I've created a DEFAULT ASP.NET Core 6 React app with Individual Accounts enabled and SQLite as the default database: dotnet new react -au Individual -o core-react-sqlite But then when I run the app, ...
PussInBoots's user avatar
  • 11.8k
0 votes
1 answer
5k views

How to combine separate front end (react.js - cra) and back end (asp.net core) applications into a single application

We currently have a reactjs front end app that runs on its own and is deployed to an azure app service on one sub domain, and a back end app, the api, an asp.net core app that is deployed to another ...
user1368182's user avatar
4 votes
1 answer
763 views

Custom React GUI for oidc-client-js

is there a way to user your custom React GUI with oidc-client-js? I know that if you trigger authentication endpoint using: // PopUps might be blocked by the user, fallback to redirect ...
Mastenka's user avatar
  • 335
0 votes
1 answer
558 views

React-call to "Asp.Net Core with identity server" gives CORS-errors

Ill try to keep this short to save digital rain forest. Please ask If I missed any details. I have an "asp .net 3.1 core + react"-project template in VS, with built in Identity server. This ...
Cowborg's user avatar
  • 2,793
0 votes
1 answer
1k views

Logout from client doesn't work. Identity Server4

I am currently implementing OAuth Server with IdentityServer4 using .NET Core 3.1 and React for client SPA. When I click logout I get the following: React JS: const handleLogout = async () => { ...
AlexZholob's user avatar
1 vote
0 answers
183 views

Add custom client to Microsoft.AspNetCore.ApiAuthorization.IdentityServer;

I am using the asp.net core SPA template with identity to create a react SPA with a web api backend. Authentication is provided by a wrapper for Identity Server 4 Wrapper. This wrapper provides a ...
J Whitfield's user avatar
0 votes
2 answers
1k views

Azure web deploy HTTP Error 500.30 - ANCM In-Process Start Failure

I have just deployed my .net core and react project on Azure using web deploy and published using Windows instead of Linux. I seem to be getting a HTTP Error 500.30 here are the error logs below, I ...
Cgracs's user avatar
  • 15
0 votes
1 answer
658 views

Unable to read request body ( IdentityServer 4 )

Hi I'm trying to read the Request body sent by React app with axios to Asp.net core app (IdentityServer 4) to get the token. The following code is from react app. const headers = { 'Content-Type': ...
p.durga shankar's user avatar
0 votes
2 answers
1k views

CORS issue in IdentityServer 4

I'm using IdentityServer 4 as oauth for my application ( Reactjs ) I'm running Identityserver on port http://localhost:5000 and reactjs app on http://localhost:3000. I have tried using CORS for my ...
p.durga shankar's user avatar
1 vote
1 answer
5k views

OIDC client JS authentication authorization using react application

I am using the OIDC client to perform the authentication and authorization using react application. I am able to login successful after the login I have a nav menu to display if the user is ...
San Jaisy's user avatar
  • 16.4k
1 vote
0 answers
1k views

connect/checksession infinite loop identity server 4 v4 asp.net core with react application

I am using Identity server 4 v4 with react application to do Authorization and Authentication. However, after the login from the identity server in the network tab I can see the to request as infinite ...
San Jaisy's user avatar
  • 16.4k
13 votes
2 answers
3k views

Authentication cookie disappears in react SPA after some time

We have an SPA, written in React together with ASP.net core for hosting. To authenticate the app, we are using IdentityServer4 and use a cookie. The client is configured according to the sample, ...
Peter's user avatar
  • 773
0 votes
2 answers
1k views

Role Authorization Not Working with React/ASP.NET Core API

I created a react project with the default react template in asp.net core with individual user accounts. [Authorize] attribute works fine however when I try to implement [Authorize(Roles = "...
Brendon Lee's user avatar
1 vote
1 answer
531 views

Why can't I use role authorization in my API controller

I created a react project with the react template in asp.net core with individual user accounts. I have looked around and found out I needed to add roles in the startup file and add a profile service, ...
Mads Nielsen's user avatar

15 30 50 per page