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
2
votes
1 answer

Angular deep link navigation with OIDC

I have an application https://app.example.com (home) and I have deep link working https://app.example.com/function/123 (direct_link) and navigating directly to direct_link works if the user is already authenticated. We are using angular-oauth2-oidc…
Sumit
  • 71
  • 1
  • 5
2
votes
0 answers

Angular-oauth-oidc, AuthConfig is null when calling OAuthService.silentRefresh()

I have an Angular application that authenticate towards Windows ADFS 2016 using Open Id Connect. The application retrieves access token and id token via implicit flow and it works fine. Problem comes when I try to refresh the token using…
r366y
  • 382
  • 6
  • 17
2
votes
1 answer

Get full access token from Auth0 using angular-oauth2-oidc library

I have the angular-oauth2-oidc library set up to use with Auth0. However, Auth0 keeps sending me a really short access token, e.g. mSNhEfdDHK6t-kT5QweRtgec-FPGAsdfEw9, instead of a full JWT token. Here's how to reproduce the issue: Create a sample…
Jeroen
  • 60,696
  • 40
  • 206
  • 339
2
votes
1 answer

OAuth token refresh in angular app

I'm using the angular-oauth2-oidc package and IdentityServer3. I'm using the auto refresh option from the angular-oauth2-oidc package in my web app. When the refresh occurs, I'm redirected to my start page (which is the redirectUri in…
2
votes
0 answers

I'm getting a Failure message: Unprotect ticket failed using core and Identity Server

I have an Angular app using .net core and Identity Server 4 for authentication. I'm using this angular service for openid https://github.com/manfredsteyer/angular-oauth2-oidc After I log in I'm redirected back to my web app with a token, but I keep…
user2531854
  • 856
  • 3
  • 13
  • 32
2
votes
0 answers

Angular, Keycloak, and SSO Automatic login with angular-oauth2-oidc

We are attempting to create the following setup within our environment... Angular 4.4+ application which uses Keycloak as the authentication server which has AD Federation and Kerberos support. This is to provide our intranet users with a true SSO…
1
vote
0 answers

“Invalid token specified error” only at first login in Angular app with oauth2-oidc and keycloak

In my Angular application I’m using oauth2-oidc library and Keycloak to manage authentication. This is the oauth configuration: //auth-config.ts import { AuthConfig } from "angular-oauth2-oidc"; export const oauthConfig: AuthConfig = { issuer:…
1
vote
0 answers

Angular-oauth2-oidc - Can't get it to use localStorage for tokens

I am trying to follow the example from this page https://manfredsteyer.github.io/angular-oauth2-oidc/docs/additional-documentation/configure-custom-oauthstorage.html What I am trying to do is to use localStorage for storing the tokens . I have…
Manos Kounelakis
  • 2,848
  • 5
  • 31
  • 55
1
vote
1 answer

How to configure SecurityConfig without formlogin in new oauth2.0 server?

My spring authorisation server depedency :- org.springframework.security spring-security-oauth2-authorization-server 1.0.0
1
vote
0 answers

Logout is not working properly - angular-oauth-oidc

I'm using the angular-oauth-oidc library to manage authentication in an angular app. I'm also using this sample as the base for my work: https://github.com/jeroenheijmans/sample-angular-oauth2-oidc-with-auth-guards When i start the project and try…
1
vote
1 answer

How to force a silent login attempt before validationg the access token in angular-oauth2-oidc

I'm using angular-oauth2-oidc for authentication. It's configured to use a 3rd partry SSO identity provider. The setup of my app follows https://github.com/jeroenheijmans/sample-angular-oauth2-oidc-with-auth-guards. The IdP doesn't implement Session…
HBu
  • 559
  • 6
  • 18
1
vote
1 answer

Angular Authorization Code Flow with back end REST API

I've used this repository https://github.com/jeroenheijmans/sample-angular-oauth2-oidc-with-auth-guards/ as a test and switched the authConfig settings to a Google app I created. The code flow works except it always tries to exchange the…
1
vote
1 answer

Angular oauth2 oidc library, idp hint for correct identity provider

I'm using angular oauth2 oidc library for user identification inside of keycloak. Is it possible with this library to use idpHint to redirect to a valid identity provider? I didn't find it as part of the config object, I don't know what else to look
1
vote
1 answer

How Creat Routing after Authentification with angular-oauth2-oidc on curent route

I a have stack Angular 13 with angular-oauth2-oidc: 13.0.1 and angular-oauth2-oidc-jwks: 13.0.1 for OAuth2. I'm trying to just redirect the user to the current route before redirecting the login URI. So currently I'm in implicitflow and I…
Jack Boch
  • 127
  • 1
  • 9
1
vote
1 answer

Automatic login using angular-oauth2-oidc without presenting the login page

I want to automatically login the user with angular-oauth2-oidc, if there is an active session on the id server. But if thats not the case, i don't want to present the login page but just have in internal state set. I tried…
Niklas Hantke
  • 353
  • 1
  • 5
  • 20
1 2
3
8 9