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
1
vote
1 answer

How to stop reload loop after logging into custom Azure AD B2C page?

I'm setting up a serverless Angular 7 application for work that uses Azure AD B2C with a custom login screen. The goal of this application is to allow users to log in through B2C inside our application, then route them to other pages within the…
KBrowning
  • 11
  • 4
1
vote
1 answer

Error in silent refresh of token with google account

In an angular CLI web application I need to authenticate users with google accounts. I'm using the angular_oauth_oidc library to manage all oauth-related tasks. I've configured the OAutService for automatic silent refresh. I can see in fiddler that…
1
vote
2 answers

angular-oauth2-oidc, how to detect if I logged in somewhere else?

I'm using the angular-oauth2-oidc library in combination with the Implicit Flow with keycloak. There is no problem to login with this.oauthService.initImplicitFlow(); or logout with this.oauthService.logOut(); However, I'm wondering, is it possible…
MaXon
  • 465
  • 2
  • 8
  • 17
1
vote
0 answers

Starting implicit flow not working after back navigation on keycloak

I'am using the angular-oauth2-oidc libary with keycloak as an Auth-Provider in my angular app. Everything works fine in the "happy-path": User hits the login button Calling the initImplicitFlow method The keycloak login-page shows up User enters…
Janbo
  • 11
  • 3
1
vote
1 answer

OAuthService wrong issuer error (angular-oauth2-oidc)

I'm currently trying to implement azure ad authentication in my angular application. Unfortunately i'm running into some issues. The following code gives me the access token as i'm expecting. To implement it in my api I wanna use…
1
vote
2 answers

angular-oauth2-oidc library can't load jsrsasign module

I'm trying to upgrade a dependency in Angular for a project forked from : https://github.com/mgechev/angular-seed The dependency is: https://github.com/manfredsteyer/angular-oauth2-oidc however I'm not quite sure how my System.JS files needs to look…
Squiggs.
  • 4,299
  • 6
  • 49
  • 89
1
vote
1 answer

Dependencies Injection angular 4 : my service not a singleton

I have a hard time to use an openId auth package with this config.... I have 3 modules : module 1 : mainApplication module 2 : core module 3 : portal I have a service (AuthService) in the core module, extending OAuthService from…
0
votes
0 answers

Handling Google OAuth2 Redirection Differently Between Development and Production in Angular and Nest.js

I try to use angular-oauth2-oidc with google social network and work on development and production. I use nest.js part as the backend. And I use render.com for production. In the last case, I use docker to build nest.js and angular parts and copy…
0
votes
0 answers

How to open login URL with SafariViewController with angular-oauth2-oidc

I'm new to angular-oauth2-oidc. I want to show login page from keycloak service for my Ionic 6 mobile project in embedded browser with Capacitor browser plugin. I've used loadDiscoveryDocumentAndLogin from angular-oauth2-oidc to display my login…
0
votes
0 answers

angular-oauth2-oidc implementation is (falsely) throwing a CORS error

I'm trying to implement angular-oauth2-oidc Authentication in my angular app. On server side everything is configured correctly (also CORS). My configuration looks like this: this.oauthService.configure(authCodeFlowConfig); …
dave0688
  • 5,372
  • 7
  • 33
  • 64
0
votes
0 answers

Angular + Spring + wso2 - Authorization Code Flow + PKCE

My application has a login page that contains only a button that redirects to the WSO2 Identity Server Authorization Server. This redirect is done by the library angular-oauth2-oidc. Then I have a backend that calls WSO2 SCIM2.O api's. In my…
0
votes
1 answer

How to use a second AuthGuard with the angular-oauth2-oidc library or the complete one

I have an angular application with an OAuth2 authentication that blocks my pages thanks to the 'angular-oauth2-oidc' library, I need to recover a role and permissions with this token via an api. But so I autilise AuthGuard for block route by…
Jack Boch
  • 127
  • 1
  • 9
0
votes
1 answer

angular-oauth2-oidc - Not passing 'State' and 'Scope'

There is a requirement from the identity server of not to pass 'state' and 'scope' in the URL. The request is in following format URL?app=xxx&response_type=code&client_id=yyy&state=zzz&redirect_uri=aaa&scope=openid%20id%20offline_access** Angular…
RagaSGNur
  • 199
  • 1
  • 2
  • 15
0
votes
1 answer

spring boot authorization server wildcard redirection list

I'm currently migrating my oauth server to the Spring Authorization Server and want to use the code workflow. My frontend is a Angular App and I use there the angular-oauth2-oidc plugin. More or less it's kind of working, but I have troubles with…
0
votes
1 answer

while using session storage in iframe angular-oauth2-oidc give error of DOMException: Failed to read the 'sessionStorage'

I am using the angular-oauth2-oidc package for authentication and my application is used in iFrame, so when the third-party cookies are blocked, it will give the below error. core.js:6241 ERROR DOMException: Failed to read the 'sessionStorage'…
1 2 3
8 9