Questions tagged [angular-oauth2-oidc]

The angular-oauth2-oidc library is for managing Authentication and Authorization in an Angular app depending on an OAuth2 and OpenID Connect server.

The angular-oauth2-oidc library is for managing Authentication and Authorization in an Angular app depending on an OAuth2 and OpenID Connect server.

131 questions
0
votes
1 answer

Angular OAuth Code Flow Authentication with IDP(Keycloak)

I'm trying to integrate with an identity provider (Keycloak in my case) in my Angular project. I'm using "angular-oauth2-oidc" library for that purpose. So, I'm able to redirect a user from my home page to the login page of IDP on a button click,…
josh
  • 409
  • 1
  • 5
  • 18
0
votes
1 answer

Angular using oAuth2-oidc: Check if user previously logged out

I have an angular application using these two dependencies: angular-oatuh2-oidc angular-oauth2-oidc-jwks The user can already log in via automatically login functionality when the app starts and also logout using a logout button on the welcome page…
0
votes
2 answers

How to configure OAuth Code flow wihout discovery

It is my first try with OAuth. I am using Angular 13 + angular-oauth2-oidc library and I am trying to configure code flow. My problem is that in tutorial discovery document is used by default but my auth server does not have anything like that so…
obaram
  • 321
  • 2
  • 4
  • 13
0
votes
1 answer

oauthService.getIdentityClaims() returns null when using angular-oauth2-oidc and keycloak

I'm working on angular-oauth2-oidc and keycloak. I can login (redirecting to keycloak login page), and session has created inside keycloak for loggedin user. However, oauthService.getIdentityClaims() returns null so I can't get the username from…
J.K.A.
  • 7,272
  • 25
  • 94
  • 163
0
votes
1 answer

OpenID connect handle user logout not confirmed

We are using angular-oauth2-oidc plugin. More specifically: angular 13 angular-oauth2-oidc 13.0.1 Our OAUth IDP is based on WSO2 Identity Server. Here a sample of the discovery service implemented by WSO2 IS: { "request_parameter_supported":…
Angelo Immediata
  • 6,635
  • 4
  • 33
  • 65
0
votes
1 answer

Angular-oauth2-oidc login flow in new tab

I'm using angular-oauth2-oidc to implement authorization code flow in an angular and its simple . but what I want when I click on the login button >>> open the login flow in new tab (not in the same tab) and keep the current page as it is . is this…
0
votes
2 answers

IdentityServer4 gives stack overflow error

I have an SPA (Angular 9) and uses an identity site (.NET Core 3.1 with identity4). Both sites work well, however if the user stops browsing for a long time and tries to navigate again, the identity site gives 503 error (stack overflow error). This…
0
votes
1 answer

What exactly is the HttpInterceptor in Angular?

What exactly is the HttpInterceptor in Angular?
0
votes
1 answer

Angular OpenID: Redirect to login before app loads in browser

I am using Angular 12 with angular-oauth2-oidc and so far I've successfully set up authentication. However, right before being redirected to the login the application is being loaded (only for a splitsecond, but still). Is there any way to hide the…
cube
  • 75
  • 6
0
votes
1 answer

Unable to access the Microsoft graph endpoint with angular-oidc token

Am pretty new to angular-oauth2-oidc, Unable to access the Microsoft Graph API, using the graph token that we get as the id_token in angular-oauth2-oidc. the AuthConfig export const authCodeFlowConfig: AuthConfig = { // Url of the Identity…
leox
  • 1,315
  • 17
  • 26
0
votes
1 answer

Spartacus3.2 - Auth0 Logout Giving CORS error

I am trying to logout with Spartacus Auth0. I have used "OAuthLibWrapperService" and logout method. Where it is clearing access token only. Can I know how can I redirect to Auth0 login screen on logout button click. Also tried with "OAuthService"…
Ajay.k
  • 111
  • 10
0
votes
1 answer

Best way to ensure subscription happened before emitting next value

I'm using OAuth 2.0 to retrieve a Token for my User in my Angular Application. I use the popular lib angular-oauth2-oidc for handling the OAuth Flow. So in my AppComponent I set up the oAuthService from angular-oauth2-oidc and then initiate the…
Boommeister
  • 1,591
  • 2
  • 15
  • 54
0
votes
1 answer

Disable TLS in angular-oauth2-oidc

I am using angular-oauth2-oidc in my project. The Openid (identity) provider uses self signed certificate. The Identity provider is not in our control. When we configure the identity url and try login from angular we always get an error. error…
Ashok Krishnamoorthy
  • 853
  • 2
  • 14
  • 24
0
votes
1 answer

Token not generate after login with angular-oauth2-oidc

I am trying to use the OAuth2 library (angular-oauth2-oidc) for authentication with aws cognito. When I launch my app, I got the default login page of AwsCognito well, but when I enter login/password I got a loop page (token not generated). The…
user1814879
  • 984
  • 6
  • 23
  • 49
0
votes
1 answer

Custom Scopes: Using angular-oauth2-oidc with Auth0 and Github

I am attempting to integrate the angular-oauth2-oidc library with Auth0 and Github. Feel free to keep in mind I have selected all scopes(just to be safe), from the Auth0/Github UI side of things. Using Latest Features I am using the latest features…
Charlie-Greenman
  • 1,469
  • 1
  • 16
  • 36
1 2 3
8 9