broox

Anyone wanna have a quick, conceptual chat about accessing an OAuth2 based API with JS? I need sanity checks.

via Twitter and Facebook

facebook comments

  • i.imgur.com/ZgnfwVl.jpg

    Kevin Switzer posted

  • Could get an access token with a short lifecycle or call an API you control to make the requests for you. You would still need authentication, so you will need some sort of OTP or short lifecycle token you generate.

    Depends somewhat on the version of OAuth2 the API provided. Google has a good article on how to call their API's, but they did OAuth 2 correctly:
    developers.google.co...rAgent

    Brandon Weber posted

  • what makes you think our OAuth2 API wasn't built correctly? ;)

    Derek Brooks posted

  • I DID OAUTH2 CORRECTLY TOO

    Clint James Ecker posted

  • Wasn't sure if you were consuming yours or a 3rd party API.

    Brandon Weber posted

  • the tricky part is that we have some endpoints that use the client_credentials flow, so we can't do pure JS/implicit grants

    Derek Brooks posted

twitter comments

your comments