Questions tagged oauth-2.0

Explore the latest questions and answers asked by our top developers.

OAuth2 and SSO with angular-oauth2-oidc won’t retrieve access token

here`s my problem I am trying to implement SSO and OAuth2 flow with angular-oauth2-oidc. I can get the right response (the access_token) using POSTMAN and ThunderClient (VS code), but not with Angular Here’s my configuration: authCodeFlowConfig: AuthConfig = { issuer: ‘https://URL.com/’, loginUrl: ‘https://URL.com/authorize-client’, clientId: environment.API.CLIENT_ID, responseType: ‘code’, scope: environment.API.SCOPE, tokenEndpoint: ‘https://URL.com/request-access’, dummyClientSecret: environment.API.CLIENT_SECRET, redirectUri: window.location.origin, […]

Is there a way to create authentication using firebase Auth for linkedIn? If yes, can anyone explain? [duplicate]

Tried to understand custom auth https://firebase.google.com/docs/auth/web/custom-auth, but still not clear. Any help would be helpful. Source: Angular Questions

By Vish
Published
Categorized as angular, authentication, firebase, oauth-2.0 Tagged , , ,

Angular-oauth2-oidc loadDiscoveryDocument in POST

I wanted to use loadDiscoveryDocument to get Token with out Login user name and password. But by using loadDiscoveryDocument it calling the endpoint in GET method, instead I wanted to call the endpoint in HTTP POST Method I do not know how to set REQUEST METHOD POST for loadDiscoveryDocument. Please help. Source: Angular Questions

By Senthil
Published
Categorized as angular, oauth-2.0, openid-connect Tagged , ,

Angular calling Spring Boot index.html

I have created a web application with a angular front end and a spring boot backend. I currently have my login using OAuth2 with Google, Github and Facebook. Currently my login page is the index.html in spring boot. I am not certain how to move this out of spring and use a angular login component. […]

By Ryan
Published
Categorized as angular, oauth-2.0, spring, spring-boot Tagged , , ,

After login hasValidAccessToken is always true when using angular-oauth2-oidc

I have implemented angular-oauth-oidc (version 12.1.0) with Angular 12.2. I have no problems login using Keycloak as the SSO, but I am having an strange behaviour from the library. Everytime, after login, the methods hasValidIdToken and hasValidAccessToken are returning true even if the tokens are expired. It seems that the library is not validating the […]

shall i add auth0 to backend or frontend?

im developing an angular/springboot web app , shall i add auth0 to angular and leave springbt for database mangement only, OR let auth0 api connect with springboot and then send api calls from springboot to angular containing uer info ? Source: AngularJS Questions

By Omar Maaref
Published
Categorized as angular, angularjs, oauth, oauth-2.0, spring-boot Tagged , , , ,

Why oauth2 url is not opened on my client side?

I have a problem about my google drive oauth2. I have this code : def getService(creds): service = build(‘drive’, ‘v3’, credentials=creds) return service def getCredentials(): # If modifying these scopes, delete the file token.json. SCOPES = [‘https://www.googleapis.com/auth/drive’] """Shows basic usage of the Drive v3 API. Prints the names and ids of the first 10 files […]

By Math
Published
Categorized as angular, django, google-drive-api, oauth-2.0, python Tagged , , , ,

Can you explain this to me or give me an example authenticate page? [closed]

Can you explain this to me or give me an example: Create authenticate page before subscribe (page authentification du profile: Vendeur ou utiliser) Source: Angular Questions

Angular OpenID: Redirect to login before app loads in browser

I am using Angular 12 with angular-oauth2-oidc and so far I’ve successfully set up authentication. However, right before being redirected to the login the application is being loaded (only for a splitsecond, but still). Is there any way to hide the app completely unless you’re logged in? Source: Angular Questions

Angular – OAuth – loading twice or two redirects – How to stop reloading/refreshing

I am using an Angular app with OAuth2 google authentication. I have authGuard for certain endpoints, and it seems there is a flicker or double loading the same page. The console is also getting cleared(?) How can I identify the issue – any double reloading? The class is @Injectable({ providedIn: ‘root’ }) export class AuthGuard […]

By Kris Swat
Published
Categorized as angular, google-oauth, oauth-2.0 Tagged , ,
1 9

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq