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
0 answers

redirect to log in each time when page is opened in any browser tab angular-oauth-oidc

I want users to redirect to log in each time they open Angular 6 SPA that is secured with identity sever as authorization server with angular-oauth-oidc. I am using OAuth 2.0 implicit flow for users to log in with Angular SPA. I tried with clearing…
Gopal Zadafiya
  • 274
  • 2
  • 10
0
votes
0 answers

Open id not redirecting to the correct login page

i followed the example https://www.softwarearchitekt.at/aktuelles/authentication-in-angular-2-with-oauth2-oidc/ here and also used the same login details . I dont have any access to backed staff except the config they provided and url staff…
Billy Watsy
  • 74
  • 1
  • 10
0
votes
1 answer

AADSTS50146: This application is required to be configured with an application-specific signing key

I am creating an Angular 7 application. we have used angular-oauth2-oidc to connect to Azure AD and authenticate. Azure AD set as OPENID for authentication. From the team managing Azure AD we have got one secert key also. As i am new to this i am…
0
votes
1 answer

angular-ouath2-oidc does not redirect after user grants access

I am using angular-oauth2-oicd to request users to grant access to their basecamp3 accounts. The application loads the request for access just fine but when the user clicks grant access it does not redirect back to the index.html page. It does…
0
votes
1 answer

Angular6 oauth token validation

I'm integrating identity server with my angular 6 app. I have an issue with angular-oauth2-oidc library which throws me an error about not a valid token, which is valid when I'm checking it by using hasValidAccessToken function then return me true…
yazpid
  • 135
  • 2
  • 18
0
votes
1 answer

How to keep logged in when open other tab with angular-oauth2-oidc?

I'm implementing login feature in angular using angular-oauth2-oidc and IndentityServer4 (.Net core). If I open tab A and logged in then I open other tab and go to my site, but the browser redirects to login page while I want it to keep stay in…
0
votes
1 answer

How to set header content-type as application/json in angular-oauth2-odic?

I am setting Content-Type header as application/json from fetchTokenUsingPasswordFlow method but it's going as application/x-www-form-urlencoded. Is there any way to set header content-type as application/json? As per the source code, the…
Adithya421
  • 31
  • 7
0
votes
2 answers

IdentityServer4 endsession redirecting to account/logout giving 404

I have IdentityServer4 running in Azure on an https url, and I'm using an Angular CLI project with the angular-oauth2-oidc library to handle the Implicit Flow. I'm trying to set up Single Sign Out, but it's not working correctly. I'm calling logOut…
Jeroen
  • 60,696
  • 40
  • 206
  • 339
0
votes
0 answers

angular-oauth2-oidc logout invalid+token error

I have an angular 5 application in which I have implemented angular2-oauth-oidc with okta. I am getting 400 Bad Request error saying Invalid_token when I tried to logout. It seems the session has been expired. On clicking logout button the code used…
user3211705
  • 2,418
  • 3
  • 19
  • 36
-1
votes
1 answer

CORS blocked error with loadDiscoveryDocumentAndTryLogin()

I am working on Angular 9 Authentication from Azure B2C. In angular, I am using Auth angular-oauth2-oidc library. I am getting CORS block error if I have loadDiscoveryDocumentAndTryLogin() code in config method not really sure what I am missing. If…
K.Z
  • 5,201
  • 25
  • 104
  • 240
-3
votes
1 answer

Implement `Refresh Token` in `Angular`

I'm working on this Spring Security implementation with OAuth2 and JWT: According to the author I can access resources using token this way: To access a resource use (you'll need a different application which has configured ResourceServer): http…
1 2 3
8
9