I’m building an SPA app, and am using IdentityServer4 for the authentication. I’m using the new api authorization template found in .net core 3.0 for angular.
The template tries to authenticate first using an iFrame, if it fails it tries using a…
I use angular-auth-oidc-client to implement authentication for a web app using Angular 8,
It's working fine when storing user data in the localStorage or sessionStorage
but when using a cookies storage implementation, Errors like client:172 [WDS]…
I am developing a web application using Angular 7 and this app communicates to a Web API back-end services written in dot.net core.
These two applications have been deployed to Azure and all its configurations has been set up: resource group, enable…
I have a angular application and identity server 4 application. I have a login page in angular app which have only user name and when user enters his username , i want to send this username to IDs 4 and based on his username i will ask him to login…
My app uses "angular-auth-oidc-client" in mode "silent_run": true.
My app starts with different routes and always with query parameters. Most of the resources in my application do not require authorization on the server. If I needed authorization, I…
I am trying to access the Angular Service Object (I have set the AuthContext in service) but Angular Guard is giving undefined even though that is well set.
I have login component, which I call first and internally It uses the Angular Auth…
I'm using the angular-auth-oidc-client package to authenticate myself against my Keycloak client.
The problem comes after I log into Keycloak with a user, then im getting:
error "invalid_grant"
error_description "Code not valid"
here is the…
In an Angular application using angular-auth-oidc-client, when a certain route is loaded and the user logs off, I want to send a different 'post_logout_redirect_uri' value to the OIDC server.
I set the postLogoutRedirectUri in the OIDC…
I have an SSO server using Duende Identity Server 6.2 and an ASP API backend. Works great.
My angular client works well too. I can login and talk to my API. My problem is after about 30minutes, my token apparently expires and my HTTP calls fail (as…
I need to pass the access token to a service each time is obtained, so this is what I did:
export class AppComponent implements OnInit {
constructor(
private eventService: PublicEventsService,
private oidcSecurityService:…
We use an HttpInterceptor to add bearer token to our API requests. This is for an internal application that requires all users to be authenticated and authorized, even for the home page.
I have the code as shown below. On first render, for the first…
Sorry for such a noobish question. I'm trying to compile angular-auth-oidc-client to do some contrib, but the builds aren't finding the local library.
The imports for what is supposed to be a local library are obviously not there because it's the…
I have the following requirement that I find challenging to implement in Angular.
After the user authenticates using and Auth Provider, I need to load his/her roles from backend.
Base on roles I need to show certain pages.
I want to accomplish this…
I set up an angular oidc client for an angular application and deployed to an ec2 machine. Even if the authentication works fine on local machine, on the ec2 machine I receive the following error in the console: ERROR TypeError: Cannot read…
I am having an SPA application with .NET core backend that uses AD B2C. The SPA angular frontend uses angular-oauth2-oidc to create the loginflow. Sample :
this.authConfig = {
redirectUri: this.envService.redirectUri,
responseType:…