Coder Social home page Coder Social logo

michaeloryl / angular2-bootstrap4-oauth2-webpack Goto Github PK

View Code? Open in Web Editor NEW
194.0 194.0 61.0 1.86 MB

Angular 2 skeleton app with Bootstrap 4, OAuth2 integration, all packaged up and served with Webpack

JavaScript 54.51% Ruby 4.56% PowerShell 1.51% TypeScript 29.16% CSS 0.05% HTML 10.20%

angular2-bootstrap4-oauth2-webpack's Issues

Feature Inquiry: Angular CLI

Sorry to open this up as an "issue" but I'm curious as to whether you plan to integrate the Angular CLI into this project. If so I wouldn't mind forking it and working on that myself and submitting a PR at some point..something to think about though it seems it would require getting rid of webpack.

Thanks,
Dom

Why using a timer for Auth window?

Is it not possible to handle the 302 redirect the OAuth server will return? Doing it with a hard coded timer seems like a temporary solution

Set Headers in URL

I have got a situation where I need to set some headers to the OAuth server. How can I do it via this lib?
Here is an example:
GET https://clare.oceaninformatigcs.com/npscdrb2b/authorisation/oauth2/Authorize?response_type=code&client_id=nps.mlplus&redirect_uri=https%3A%2F%2Foceaninformatics.com%2FAuthorizeTests%2Foauth2%2Fcallback%3Fdevice_token%3DZmFlYzdmZDZhMmIyhNGU1NDlkMDk4ZDMyM2Y3YmEzYWY%3D&state=30fb55af4834416aaa2c2d4fde27bfcfd HTTP/1.1 Authorization: Basic RmFjZWJgvb2svMTg0NjU4NjM0Nzo= Host: clare.oceanifnfogrmatics.com

Errors on install related to promise

(1,10): error TS2661: Cannot re-export name that is not defined in the module.

ERROR in .//angular2/src/facade/async.js
Module not found: Error: Cannot resolve module 'rxjs/observable/fromPromise' in
node_modules/angular2/src/facade
@ ./
/angular2/src/facade/async.js 11:20-58

What is the logic ?

Hello,

the project is now a little bit old but in term of design, can you explain me something :

  • Is the idea to use a popup window there in order to stay in the ng2 single-application ?

I mean you arrive in your ng2 app and if you want to authenticate it opens the popup window for example go and come back from facebook or any other oauth2 server for SSO ?

Is it only for client side oauth2 or can it run perfectly with spring security ?

thank you for your help,
I am new to OAuth2... I guess I think it is more complex than it is...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.