Title: Your Plugin and AngularJS
Last modified: September 7, 2018

---

# Your Plugin and AngularJS

 *  [netiad](https://wordpress.org/support/users/netiad/)
 * (@netiad)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/your-plugin-and-angularjs/)
 * Hi,
 * I’m an AngularJS developer and new to the security side of things. We have a 
   WordPress site hosted by one domain, and an AngularJS application on AWS.
 * [http://www.ourdomain.com](http://www.ourdomain.com) –> our WordPress site hosted
   on Bluehost
    [http://www.app.ourdomain.com](http://www.app.ourdomain.com) –> 
   our AngularJS site hosted on AWS
 * We’d like to make it so users can login once from our WordPress site and have
   access to WordPress site and our AngularJS site.
 * Is this possible with your plugin?
 * Which of the following methods would you recommend:
 * Authentication Code
    User Credentials (Pro Only) Client Credentials (Pro Only)
   Refresh Token (Pro Only) OpenID Connect with discovery (Pro Only)
 * I also want it so that when they are logged in and visit the AngularJS site that
   I can access their username (i.e. this would be possible on the AngularJS site:
   Welcome, sally12)
 * I imagine I’ll need to write some code on our AngularJS site to be the client
   to your plugin or find some code someone else wrote. I wonder if this would work
   for that part: [https://github.com/oauthjs/angular-oauth2](https://github.com/oauthjs/angular-oauth2)
 * Thanks
    -  This topic was modified 7 years, 8 months ago by [netiad](https://wordpress.org/support/users/netiad/).
    -  This topic was modified 7 years, 8 months ago by [netiad](https://wordpress.org/support/users/netiad/).
    -  This topic was modified 7 years, 8 months ago by [netiad](https://wordpress.org/support/users/netiad/).
    -  This topic was modified 7 years, 8 months ago by [netiad](https://wordpress.org/support/users/netiad/).

The topic ‘Your Plugin and AngularJS’ is closed to new replies.

 * ![](https://ps.w.org/oauth2-provider/assets/icon-256x256.gif?rev=2603051)
 * [WP OAuth Server (OAuth Authentication)](https://wordpress.org/plugins/oauth2-provider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/oauth2-provider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/oauth2-provider/)
 * [Active Topics](https://wordpress.org/support/plugin/oauth2-provider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/oauth2-provider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/oauth2-provider/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [netiad](https://wordpress.org/support/users/netiad/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/your-plugin-and-angularjs/)
 * Status: not resolved