Coder Social home page Coder Social logo

angular-spa-sample's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-spa-sample's Issues

PKCE flow is not working when hosted application

I used this solution and configured to work with our Idp or Secure token service(Ping Federate). codeflow-pkce worked as expected for SSO in locally but when hosted this application, it follows code flow without pkce.

When hosted into our website URL, flow not sending code_challenge and code_challenge_method parameters in the initial request such as follows but working fine in localhost.
https://sso.pingxxx.com/as/authorization.oauth2?redirect_uri=http%3A%2F%2Fl45367.ourdomain.com%3A3009%2Fcallback&client_id=ourapp&response_type=code&state=aANyA446UP&scope=openid&IdpApp=PingNoKerb&response_mode=fragment

Ping One SSO Error - "Din't recognize the email address you are using"

Am trying to use this repository to connect with Ping One as Identity Provider.

I have done the following changes in environment.ts file,

export const environment: AuthorizationConfig & GeneralEnvironmentInfo  = {
  production: false,
  issuer_uri: 'https://sso.connect.pingidentity.com',
  client_id: '--------------------------',
  client_secret: '----------------------',
  //client_id: '465844544800-f1k5bhu8jibs9vc1ifh7nmhpmh7nqnod.apps.googleusercontent.com',
  redirect_uri: 'https://localhost:4200/callback',
  extras: {
    'prompt': 'consent',
    'access_type': 'offline'
  }
};

and in Authentication_Service_configuration.ts of "node_modules@openid\appauth\built",

var WELL_KNOWN_PATH = 'sso/sp';
var OPENID_CONFIGURATION = 'initsso?saasid=XXXXXXXX-XXXX-XXXX-a90c-b803f008edc2&idpid=701c8fab-XXXX-4f6d-8115-XXXXX';

Am able to move the user to Ping One Sign In page, but getting the following error.

Kindly let me know what other change is needed in the implementation to complete.

Error on npm install

Using Node version 8.11.3 on Linux and got the following error on npm install:

$npm install                                                                                                          16.4s  mer. 09 janv. 2019 16:28:15 CET

> [email protected] postinstall /media/data/workspaces/git/angular-spa-sample
> ng build --aot --prod

                                                                                     
Date: 2019-01-09T15:28:37.211Z
Hash: a720188a510b4401014e
Time: 10312ms
chunk {0} runtime.ec2944dd8b20ec099bf3.js (runtime) 1.41 kB [entry] [rendered]
chunk {1} main.9868d9b237c3a48c54da.js (main) 128 bytes [initial] [rendered]
chunk {2} polyfills.85f47f0bf59079cbc23a.js (polyfills) 130 bytes [initial] [rendered]
chunk {3} styles.e5b8d1357cdaa3ffd936.css (styles) 61.8 kB [initial] [rendered]

ERROR in node_modules/@openid/appauth/built/xhr.d.ts(5,31): error TS2304: Cannot find name 'JQueryAjaxSettings'.
node_modules/@openid/appauth/built/xhr.d.ts(11,22): error TS2304: Cannot find name 'JQueryAjaxSettings'.
node_modules/@openid/appauth/built/xhr.d.ts(17,22): error TS2304: Cannot find name 'JQueryAjaxSettings'.
node_modules/@openid/appauth/built/xhr.d.ts(26,22): error TS2304: Cannot find name 'JQueryAjaxSettings'.
src/app/html5_requestor.ts(15,28): error TS2304: Cannot find name 'JQueryAjaxSettings'.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `ng build --aot --prod`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/[email protected]/.npm/_logs/2019-01-09T15_28_37_260Z-debug.log

Any idea on why it's not working?

scope=openid+profile

Hi, Anyone able to help with this.

is it possible to change the scope from just openid to "openid+profile"

It looks like it's openid by default.

index.html genration failed

× Index html generation failed.
Inlining of fonts failed. An error has occurred while retrieving https://fonts.googleapis.com/icon?family=Material+Icons over the internet.
connect ETIMEDOUT 108.177.120.95:443
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: ng build --aot --prod
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\azl63tz\AppData\Roaming\npm-cache_logs\2021-05-20T11_31_07_093Z-debug.log

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.