OAuth2.0 Implicit Grant flow. Why use url hash fragments?

前端 未结 2 1052
情话喂你
情话喂你 2021-01-30 17:35

Going through the new OAuth2.0 Specs ( rfc 6749 ), I see that Implicit Grant protocol workflow uses Url Hash Fragments to exchange the \'access_token\' between the Authorisation

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-30 18:09

    the Implicit Grant flow is done for java script clients and I think they are using '#' instead of '?' to not send the access token to server side of your redirect URL but it is still reach to javascript which is the client in our case may be for security reason "not sharing your access token over network may be unsecured like one used for redirect URL"

提交回复
热议问题