Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szgabsz91/oauth2-authorization-proxy-client
Client libraries for OAuth2 Authorization Proxy
https://github.com/szgabsz91/oauth2-authorization-proxy-client
angularjs facebook google oauth2 security vanillajs
Last synced: about 3 hours ago
JSON representation
Client libraries for OAuth2 Authorization Proxy
- Host: GitHub
- URL: https://github.com/szgabsz91/oauth2-authorization-proxy-client
- Owner: szgabsz91
- License: mit
- Created: 2019-08-24T15:58:33.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T03:09:14.000Z (almost 2 years ago)
- Last Synced: 2024-11-03T01:33:55.172Z (15 days ago)
- Topics: angularjs, facebook, google, oauth2, security, vanillajs
- Language: JavaScript
- Homepage: https://szgabsz91.github.io/oauth2-authorization-proxy-client
- Size: 4.85 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OAuth2 Authorization Proxy Client
[![Build Status](https://travis-ci.org/szgabsz91/oauth2-authorization-proxy-client.svg?branch=master)](https://travis-ci.org/szgabsz91/oauth2-authorization-proxy-client)
[![Dependencies](https://img.shields.io/david/szgabsz91/oauth2-authorization-proxy-client.svg)](https://david-dm.org/szgabsz91/oauth2-authorization-proxy-client)
[![License](https://img.shields.io/github/license/szgabsz91/oauth2-authorization-proxy-client.svg)](https://github.com/szgabsz91/oauth2-authorization-proxy-client/blob/master/LICENSE)Client libraries for [OAuth2 Authorization Proxy](https://github.com/szgabsz91/oauth2-authorization-proxy-server-spring-boot).
The main responsibilities are:
* Adds the `Authorization` and `X-OAuth2-Provider` headers to REST API requests.
* In case of images, adds the `access_token` and `oauth2_provider` query parameters.
* Provides components to login and logout with several supported OAuth2 providers such as Facebook and Google.
* Stores the authentication information in local storage.Currently supported technology stacks:
* VanillaJS
* AngularJSThe AngularJS demo application that uses mock data can be viewed here: [https://szgabsz91.github.io/oauth2-authorization-proxy-client](https://szgabsz91.github.io/oauth2-authorization-proxy-client). You can authenticate with Facebook or Google, but due to the mock data, profile information will not reflect your actual profile. However, without authentication, you will get HTTP 401 for REST requests and protected image requests.