This looks great Dan. For anyone interested, I put together an example of using OAuth2 in AngularJS in the Widgets Direct demo app here:
https://github.com/intersystems/widgets-direct
It shows sending the requests and getting the access code back, but I haven't included validating that on the server side. If there is interest I can look at adding that.
- Log in to post comments