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

npm angular-oauth2-oidc Token has Expired issue

In the middle of my application I am getting "Token has expired" issue, please help me how to subscribe token expire method and logout the application or else increase the expiry time. Please find below error screenshot for your reference. Thank you…
Shantanu
  • 11
  • 1
  • 3
0
votes
1 answer

Silent Refresh Still Works After AccessToken Expiry

I've got an ID4 authentication server working well with an Angular app that is implementing angular-oauth2-oidc with SilentRefresh and a PCKE Authorisation flow. Everything is working great - the ID4 is configured to serve AccessTokens with a 5…
0
votes
1 answer

Can not navigate outside an application

I have an auth service that takes care of some auth errors by redirecting to identity server. I have tried to do this by window.location.href = environment.authCodeFlowIssuer;, but I got an error: Refused to frame 'http://localhost:5005/' because an…
krzyhub
  • 6,285
  • 11
  • 42
  • 68
0
votes
1 answer

Angular with Okta sign in

I am new to Okta and OAuth. I tried to first do a sample tutorial and followed the same procedure as described here I am stuck with Angular Authentication using OpenId Connect. I have created OIDC application in my Octa Account and below is the…
code-geek
  • 441
  • 1
  • 8
  • 22
0
votes
2 answers

Silent Refresh not working after Google Chrome updated to Version 85

I am using angular-oidc-auth2 v9.0.3 to request token renewal by silent refresh. I am using implicit flow. it was working good until google chrome updated version to 85. I have observed the request and found that Google chrome used to have Referrer…
0
votes
1 answer

Angular 9/OAuth2/OIDC and Routing Issue

I have implemented a basic Oauth2/OIDC silent-refresh with the angular-oauth2-oidc API and am having some issues getting links to specific areas inside my application to work. For instance, the application generates emails for users to reach a…
awdorrin
  • 85
  • 1
  • 6
0
votes
0 answers

Embed Angular in Business Central and get Authentication working

At the moment I'm working on an interesting project with Angular. My company mainly develops for Microsoft Business Central and want me to embed an Angular app inside a Business Central component. I think the target group for Business Central…
0
votes
1 answer

How can i add google OAuth2 to authenticate an angular node application which uses wso2 identity manager as authentication provider?

We are currently working on an Angular node application which uses WSO2 Api Manager and Identity Server . The current mode of login is done through emails which gets saved as WSO2 Carbon users . We need to allow users to login using their google or…
0
votes
0 answers

How to pass custom variable with the Azure AD B2C Redirect URI and access that variable in a common land page?

I am trying to pass a custom variable as 'state' in azure ad b2c workflow in angular8 using angular-oauth2-oidc auth config and need to access this value in my common land page. I have to handle multiple login pages/applications which need to…
0
votes
1 answer

Angular 9 authentication with angular-oauth2-oidc

I'm evaluating using the angular-oauth2-oidc package in an Angular 9 appliction. I've been playing around with the worked examplefound here. When I run the workded example and open up two separate browser sessions (Chrome) and try and log in using…
0
votes
1 answer

Changing Claims of an already authenticated User?

Is there any way we could pass extra parameters to the signinsilent / silent refresh call from oidc-client based on which I could add extra claims to the access token? Basically we have resource servers and authorisation server ( identity server 4…
0
votes
0 answers

Angular Universal with initialNavigation enabled and CanActivateChild returning false not responding

I have an Angular application with SSR where all routes are protected and the Router initialNavigation property is set to enabled. I'm using the angular-oauth2-oidc package with Code Flow + PKCE. All routes are lazy loaded and I have a…
0
votes
3 answers

angular-oauth2-oidc token always invalid after log in

I am trying to follow the guide on the documentation https://github.com/manfredsteyer/angular-oauth2-oidc. I have the following config in my constructor for the service: authCodeFlowConfig: AuthConfig = { issuer:…
Damian Fox
  • 37
  • 1
  • 5
0
votes
1 answer

How can I make authentication work through oauth2-oidc in angular app --> spring backend --> application

First things first, im not very experienced in oauth2 and oidc. I got the following architecture To sum that picture up: I want to be able to login on an Application through my Angular App, which has a SpringBoot Backend inbetween. The Application…
Slowmo
  • 3
  • 3
0
votes
1 answer

NavigateByUrl doesn't work from onTokenReceived using angular-oauth2-oidc

I'm using angular-oauth2-oidc package, I using implicit flow, and I can't migrate (at the moment) to code flow. I would like to navigate to original url when the flow is ended, I have using preserving state as document suggest. My problem is I…
Javier Ros
  • 3,511
  • 2
  • 21
  • 41
1 2 3
8
9