I am setting up a test class for my auth service which usings oidc-client.
When attempting to mock the function signinRedirect of oidc-client, I am getting hoisting issues and the following error is being thrown. I understand the problem but don't…
I have an IdentityServer4 and C# .NET Core web application behind an NGINX reverse proxy:
https://id.local.domain -> http://id-local
https://web.local.domain -> http://web-local
I can get to and enter my credentials on the ID4 login page, but after…
I have a SPA application with some WebAPI methods that are protected with OpenID authentication. A user first signs into the SPA application, then carries out some work in the application and is then required to sign off on this work by…
I have an angular app using oidc-client to access an API that uses IdentityServer3 to provide OpenID Connect authentication.
During authentication the oidc-client throws an error:
sub from user info endpoint does not match sub in access_token
FYI…
I have an authorization server which is currently being utlized by both my angular2 app and the mvc webapp.
I have implemented authorization in angular2 app using oidc-client javascript package. Everything is working fine except logout…
We want to set up a general authentication service, making use of IdentityServer4, where we define a set of users that can have access to one or more api's.
Users will be globally defined, but can only have access to specific api's.
Maybe I'm…
In my profile service why is RequestedClaimTypes Empty? I am expecting the profile claims to be requested. And per this they should contain FamilyName and Given Name claim types.
GetIdentityResources
public static IEnumerable…
I am using following configuration in identityserver4 using oidc-client.js. It successfully does signin redirect. But "authUser" in following always comes null even after that. What's wrong am I doing. I followed their sample application.
const…
Question / Issue
I'm using Identity Server for Single Sign On, my Client application is in ReactJs embedded with Redux. I'm using redux-oidc npm node module to implement the Identity Server functionality as mentioned in…
Scenario
ASP.NET Core MVC (API) with IdentityServerAuthentication, Angular 2 with oidc-client-js. IdentityServer4, with ASP.NET Core Identity, as OP. Using Kestrel
nginx reverse proxy - SSL termination, Basic Authentication
oidc Implicit…
I do not fully understand how to provide OAuth2 access token from a promise (oidc-client-js) to API code generated with Swagger-CodeGen.
It is easy to provide constant values, but how do I change below to get the user's access token from…
I'm using OIDC with implicit code flow with response type "id_token token". Everything works great but noticed that callback url with access token, id_token, scope and session_state + domain name already contains 2033 characters. Project that I'm…
Here's some background, I'm using implicit flow and my token is JWT. To logout, I'm using the method call signoutRedirectCallback.
I want to be able to properly logout. So that I can login as a different user. When doing so, I still have the token…
I have imported two types.
import { UserManager, WebStorageStateStore } from "oidc-client";
From looking at the source, both of these are classes with constructors. I can all the constructor of the first, and can cast with the second, but I cannot…
I am getting this error using oidc-client.js
oidc-client.min.js:1 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://auth.xxx.yyy.co.uk') does not match the recipient window's origin ('https://xxx.yyy.co.uk').
Where…