150 questions
2 votes
2 answers
156 views
Angular OIDC authentication fails on iOS because of invalid nonce in state
I have an Angular (19) Application which uses the angular-oauth2-oidc (v19) package. I do initialize the OIDC code flow in the provideAppInitializer function. This application is called from inside an ...
1 vote
1 answer
106 views
Angular OAuth with Docker and hashed routing
I have a confluence of a few things that are all great individually but when I bring them together, they are causing problems. I have an Angular SPA, updated to Angular 20, that uses a Keycloak server ...
0 votes
1 answer
81 views
Angular Apps Using Same IdentityServer – Silent Refresh Fails When Redirecting Between Two Apps
I have two independent Angular applications (url1 and url2), both hosted on Azure Kubernetes Service (AKS) and configured to use the same IdentityServer (OIDC-based) for authentication. Application ...
0 votes
1 answer
821 views
Issue: Logout Fails with "AADSTS90015: Requested query string is too long" Due to Large id_token_hint
I'm using Angular with OIDC authentication (via angular-oauth2-oidc) to authenticate users against Azure AD. However, for users who are part of many Azure AD groups, the id_token_hint value is large ...
0 votes
1 answer
183 views
How to get tokens for custom API and Microsoft Graph using angular-oauth2-oidc with separate configurations
I'm using angular-oauth2-oidc in my Angular application (Angular v18) to authenticate against Microsoft Entra ID (login.microsoftonline.com). My primary goal is to get an access_token for my backend ...
2 votes
0 answers
561 views
Angular 19 + Oauth2 have problem when I try to login
I'm working on an Angular 19.1.0 application where I want to implement login using Oauth2 (angular-oauth2-oidc version 19.0.0). My application is not working when I call login function from auth....
0 votes
0 answers
131 views
Ionic app angular-oauth2-oidc hasValidToken() is always false (android fails, ios works)
So, we have an Ionic Angular app for Android and iOS. We use angular-oauth2-oidc package with our server keycloak for users authentication. We noticed today that signing in doesn't work for Android ...
0 votes
0 answers
70 views
Angular oauth2.0 configure for post request
Hi I need to send an post request to a url like example.com with auth2.0 token . I need to send the below details in the request just like we do in a postman for a auth2.0 request. Token Name Grant ...
0 votes
0 answers
59 views
OIDC/OAUTH api requests using different public clientId in an Angular app
An Angular (v17) application is made of different Angular elements which have to call different secured (bearer) APIs. The application is using "angular-oauth2-oidc" library from Manfred ...
1 vote
1 answer
623 views
angular-oauth2-oidc with Keycloak Auth Code Flow Access Token Request is not sent
I am considerably new to Oauth2 paradigm. I am using Angular 14 with Keycloak Identity Server with angular-oauth2-oidc dependency and Auth Code flow grant. I am able to successfully login and getting ...
0 votes
1 answer
360 views
get config values using http in angular-auth-oidc-client
I have this environment file in angular : export const environment = { production: false, apiVersion: 'v1', apiBaseUrl: 'http://localhost:8080/api', Access_Control_Allow_Origin: 'http://my-app-...
0 votes
1 answer
1k views
How to Enable Redirect to Requested URL After Authentication in Angular with angular-oauth2-oidc?
I'm currently working on an Angular Stand-Alone application where I'm using angular-oauth2-oidc for authentication. I have successfully configured authentication using the Authorization Code Flow, but ...
2 votes
1 answer
134 views
Authentication Library Config Type Only Import Causes Reference Error
I have an authentication library designed to keep auth stuff consistent across various webapps, inspired by the angular-oauth2-oidc library. I am running into an issue when testing my app, however. In ...
0 votes
1 answer
440 views
Can't get Auth Code from Auth0 or Okta in Angular app using angular-oauth2-oidc
I see an /authorize? call but no /code? message is ever received from auth0 or OKTA. OK, let me start at the beginning. Our typical login flow: The user access our site at localhost:4200/ (just an ...
2 votes
2 answers
753 views
Can't authenticate Google access token on my net.core backend
I'm testing for the first time, how to use net.core API + Angular with Google Authentication, I already achieved to get an access token with my UI application, basically I developed a POC that uses ...