Coder Social home page Coder Social logo

taithienbo / oidc-client-js-azure-integration-ex Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 2.0 2.16 MB

A sample angular project demonstrates how to authenticate against azure ad / azure adb2c using oidc-client-js library.

Home Page: https://www.taithienbo.com/how-to-authenticate-user-against-azure-adb2c-from-angular-app-using-oidc-client-js/

JavaScript 6.74% TypeScript 62.09% HTML 12.61% SCSS 18.56%

oidc-client-js-azure-integration-ex's Introduction

oidc-client-adb2c-integration-ex

A sample angular project demonstrates how to authenticate against Azure AD or Azure ADB2C using oidc-client-js library.

The project has two branches:

  • branch 'feature/implicit-adb2c' has codes to authenticate a user via OIDC implicit flow.
  • branch 'feature/authorization-pkce-azuread' has the codes to connect to azure ad (not azure adb2c) via authorization code flow with PKCE. It appears it is possible to use authorization code flow to connect to azure adb2c; however, I just have not tried it.

The project currently connects to my adb2c tenant. To connect to your own b2c tenant, modify the oidc-settings.json under app/assets folder.

Check out the accompanying posts via the links below:

oidc-client-js-azure-integration-ex's People

Contributors

dependabot[bot] avatar taithienbo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.