Questions tagged [angular-auth-oidc-client]

Angular Library for OpenID Connect & OAuth2

Angular Library for OpenID Connect & OAuth2

For more information, see

50 questions
0
votes
0 answers

How to redirect to the Auth0 login page automatically, when the application URL is typed in the browser

To configure the application login URI in Auth0 for Single Page Application in angular. To redirect to the Auth0 login page automatically, when the application URL is typed in the browser. Instead of triggering the Login page from browser via button…
0
votes
0 answers

How to disable refresh token using angular-auth-oidc-client and openiddict?

I am using angular-auth-oidc-client lib with openiddict as identity server: openiddict config: .AddServer(options => { // Enable the authorization, logout, token and userinfo endpoints. options.SetAuthorizationEndpointUris( …
karim chelly
  • 93
  • 1
  • 1
  • 5
0
votes
0 answers

Different domain silent renew issue

I have two different clients with diffrent domains. And i have identity server hosting different domains. Like this; client1.com, client2.com (client domains) , auth.client1.com (identity server domain). Silent renew works on client1.com. But on…
0
votes
2 answers

User always being redirected to Home page instead of requested page

In my Angular project, users are being authenticated through OIDC provider using the library angular-auth-oidc-client. So, when user is not authenticated or session expired and requests a page like https://localhost:4202/account, user is being…
0
votes
1 answer

angular-auth-oidc-client keycloak does not work

I am using docker-compose with angular app and keycloak auth server. I have pulled a new image from keycloak today, all my angular application have crashed. Here is my message when debugging angular-auth-oidc-client [DEBUG] 0- - Getting signinkeys…
0
votes
1 answer

Add custom parameter in angular-auth-oidc-client and access that in .net core identityserver4

I want to add a custom parameter to angular-auth-oidc-client authorize method like this. With the custom parameter in this case the client_id I want to write some custom logic. export class LoginComponent implements OnInit { …
0
votes
1 answer

Error: ./node_modules/angular-auth-oidc-client/fesm2015/angular-auth-oidc-client.js 4790:36-60 "export 'ɵɵngDeclareInjectable'

My angular version is 11 , and I am using latest version of "angular-auth-oidc-client": "^12.0.1" It's not working for me, giving me the below error Error: ./node_modules/angular-auth-oidc-client/fesm2015/angular-auth-oidc-client.js 4835:24-48…
0
votes
1 answer

Authenticate incoming connection in Solace Event Broker

I'm writing the frontend to an application that receives live-data from a Solace Message Broker. At the moment, both the frontend and the message broker are running in a protected dev environment. At some point we obviously want to make the…
0
votes
1 answer

IdentityServer4 Windows Authentication Missing Callback implementation

The documentation to setup Windows Authentication is here: https://docs.identityserver.io/en/latest/topics/windows.html But I have no idea how to configure the Callback() method referred to in the line RedirectUri = Url.Action("Callback"), or…
0
votes
1 answer

angular-auth-oidc-client in a Ionic Android application

I'm trying to use angular-auth-oidc-client in an Android Ionic-Angular app authenticating against MS Identity server. Versions: angular-auth-oidc-client 11.1.4 @angular 10.0.2 @ionic/angular 5.2.3 Capacitor platform: Android Where I…
ch4mp
  • 6,622
  • 6
  • 29
  • 49
0
votes
0 answers

Use Angular Value Provider Values In Factory Function Inside AppModule

I'm attempting to access some value providers inside a factory function inside the AppModule (OidcConfigService below). Normally, inside components, I can just have the values I'm trying to get via constructor injection using…
0
votes
1 answer

Login not working if using hash in angular website and Identity Server 4

Below error I get using hash Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'auth-callback/id_token' Things are working fine without hash After login it tries to read for id_token but it do not gets it since now the url…
0
votes
0 answers

angular-auth-oidc-client sso single logout not working

I am using angular-auth-oidc-client for authentication users through Auth0. This service has a logoff method which is clearing the browser cookies and localstorage but not actually logging off the user from Auth0. When I refresh the page,…
0
votes
1 answer

Getting CORS policy error using Identity Server and Angular application

I'm getting a CORS error when I try to access Web.API endpoint. I have an agular application, identity server for authentication and web.api for the data management. The API runs on port :52177, Angular APP on :52178, and IS4 on :4165. Here are the…
0
votes
0 answers

oidc-client frame error when manually calling signingSilent

A bit of a strange one. On my Angular app, I have a refreshUser method to get the possibly logged in user loaded before displaying all the screen data. To do so I have the following ngOnInit method: async ngOnInit() { await…