httr icon indicating copy to clipboard operation
httr copied to clipboard

How to setup OAuth 2.0 implicit grant flow ?

Open mariafb opened this issue 4 years ago • 0 comments

How do we get the access_token from redirect URL implicit grant flow?

Example:

Request URL: https://example.app/connect/authorize?client_id=implicit&scope=xxxx&redirect_uri=http:app/callback&response_type=token&state=xxxxxxx&nonce=xxxxxxx

Response: https://example_redirect_uri/#access_token=xxxxxx&token_type=Beare&rexpires_in=1111&scope=xxxxxi&state=wwww

How can I implement implicit grant flow (response_type=token) and get the #access_token info with httr package in a shiny App.

Anyone?

Thank you !

mariafb avatar Oct 21 '20 09:10 mariafb