Git Product home page Git Product logo

ms-identity-javascript-angular-spa's Introduction

Angular single-page application built with MSAL Angular v2 and Microsoft identity platform

This sample has been archived and is no longer being maintained. You can find a more recent version of this sample here

For access to the project files, please visit the branch archive.

Disclaimer

The sample in this repository is no longer maintained and is kept for historical reasons. The sample in the main branch is not guaranteed to work with the latest versions of the libraries it depends on.

ms-identity-javascript-angular-spa's People

Contributors

anadendla-zscaler avatar arvindn05 avatar derisen avatar diberry avatar jasonnutter avatar jo-arroyo avatar microsoft-github-operations[bot] avatar microsoftopensource avatar owenrichards1 avatar salman90 avatar tnorling avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ms-identity-javascript-angular-spa's Issues

localhost:4200 got ClientConfigurationError: authority_uri_insecure: Authority URIs must use https.

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Downloaded the sample, followed ReadMe to plug in values for all the "Enter_the_xxx". Terminal npm start or ng serve --port 4200 --ssl, clicked on button, nothing happened.

Any log messages given by the failure

Console shows:

ERROR Error: Uncaught (in promise): ClientConfigurationError: authority_uri_insecure: Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options Given URI: "https://login.microsoftonline.com/common/"/
ClientConfigurationError: authority_uri_insecure: Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options Given URI: "https://login.microsoftonline.com/common/"/
at ClientConfigurationError.AuthError [as constructor] (AuthError.js:31:24)
at ClientConfigurationError.ClientAuthError [as constructor] (ClientAuthError.js:206:28)
at new ClientConfigurationError (ClientConfigurationError.js:113:28)
at ClientConfigurationError.createInsecureAuthorityUriError (ClientConfigurationError.js:141:16)
at UrlString.validateAsUri (UrlString.js:71:19)
at Authority.set (Authority.js:80:38)
at new Authority (Authority.js:27:9)
at AuthorityFactory.createInstance (AuthorityFactory.js:63:16)
at Function. (AuthorityFactory.js:32:66)
at step (_tslib.js:75:23)
at resolvePromise (zone.js:1211:31)
at zone.js:1118:17
at zone.js:1134:33
at _ZoneDelegate.invoke (zone.js:372:26)
at Object.onInvoke (core.mjs:26231:33)
at _ZoneDelegate.invoke (zone.js:371:52)
at Zone.run (zone.js:134:43)
at zone.js:1275:36
at _ZoneDelegate.invokeTask (zone.js:406:31)
at Object.onInvokeTask (core.mjs:26218:33)

Expected/desired behavior

get prompt for signing in

OS and Version?

Windows 10

Versions

22H2 (OS Build 19045.3324)

Mention any other details that might be useful

Angular v16 environment


Thanks! We'll be in touch soon.

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.