Questions tagged [implicit-grant]

10 questions
5
votes
2 answers

How to implement Authorization Code Grant with PKCE in Angular6+ applications

I need some input in implementing MSAL library in Angular6+ applications for integrating with AZURE AD. As i read through the microsoft docs, i came across two flows 'implicit grant flow' and 'auth code flow'. It is been recommended by microsoft…
Sneha
  • 51
  • 1
  • 2
1
vote
1 answer

To bypass browser while obtaining Authorization using GoTo APIs

We are looking to send SMS programmatically through a node JS application. We are able to send SMS successfully through Postman. We have created a simple node JS application using the following reference:…
A_S
  • 19
  • 4
1
vote
2 answers

How to get no expiry refresh token in Azure B2C flow in React

I'm trying to achieve a scenario where having a no expiry refresh token in my react application so users don't need to keep re-login every 24 hrs. But in the current implementation with the MSAL js library, it is only allowing to use of the…
DEELAKA
  • 39
  • 1
  • 7
1
vote
1 answer

Unable to Access Reddit Api Implicit Grant Flow Due To Fragment Identifier Before Query String

I've searched pretty hard for an existing answer to this question because I have a feeling that I've made a stupid mistake, so please let me know if this has been asked already and I haven't found it. I'm trying to make a little installed app that…
0
votes
0 answers

Spotify API Implicit Grant Flow Authentication Error after some time (401)

I use the Implicit Grant flow to communicate with the Spotify API in an express project, but after some time it seems like my access_token is expired. But I've read that with Implicit Grant flow, the token wont expire? I tried getting a new one from…
L3N0X
  • 21
  • 1
0
votes
1 answer

Sample Code for OIDC Implicit Code Flow in Java

I am new to implicit flow using OIDC and I am looking for sample code. I could not find anything on internet. Can someone provide links to sample code anywhere. Any help is really appreciated.
SJB
  • 17
  • 1
  • 9
0
votes
2 answers

OAuth2 implicit grant flow fails for Azure guest users

I try to authorize Azure AD guest users to my web application through the MSAL library. Since it is an SPA, I'm using implicit grant flow. For "standard" users, the flow is OK. But for "guest" users (with personal addresses like "gmail"), it fails…
0
votes
2 answers

Okta - Retrieving Access Token

This might be a newbie question but I couldn't find any answers to this on SO or Okta forums/guides. I've configured my Okta app to redirect to https://localhost:443/auth/callback when a user signs in and grants consent to a scope. I'm using…
Zack
  • 49
  • 2
  • 6
0
votes
1 answer

Unable to connect Angular 8 app call a custom web api authorize endpoint authenticated from Azure AD

I have an Angular 8 app hosted inside an Azure App Service, that I have got authentication using MSAL and the tokens are being passed to another Azure App Service which is hosting my custom web api (.net core 3.1). I call a not authorized endpoint…
0
votes
1 answer

Azure AD - OAuth 2 - Implicit Grant - CORS error when trying to authenticate using app, but works fine when I access the URL from the browser

I am implementing OAuth2 implicit grant flow for a very simple webapp that I want to secure. I am using MSAL to do that. The issue that I am running into is that when I try the URL from the browser, it takes me to the organization sign in page and…