Giter VIP home page Giter VIP logo

prototype-o365-login's Introduction

This README is an overview of an AttainIT Technologies prototype for demonstrating Spring Boot authentication with Microsoft 365 (formerly known as Office 365). This prototype is discussed in a series of articles on the AttainIT Technologies Blog, with the first article found here.

Overview

This prototype demonstrates integrating Spring Security with Microsoft 365 (Azure AD). It is a simple web appplication (currently one page only) accessed by an authentication against an existing Microsoft 365 subscription/domain. Once logged in, the root page will show several properties about the authenticated user.

This application is designed to be run only from a developers workstation. To run this application securely from behind a DNS address, additional configuration would needed. Specifically, additional redirect URIs must be created within Azure AD.

Developer Workstation Notes

There is one properties file missing from this GitHub repository due to security concerns. It is explicitly referenced in the .gitignore file to prevent it from being pushed to GitHub. It order to run this application, the following file must be created in src/main/resources:

sensitive.properties

azure.activedirectory.tenant-id=your-azure-ad-tenant-id
azure.activedirectory.client-id=your-azure-ad-registered-application-id
azure.activedirectory.client-secret=your-azure-ad-client-secret

Once the application is running, it can be accessed via:

http://localhost:8080

Note that the local application is running over http but the backend authentication to Microsoft 365 is running over https.

prototype-o365-login's People

Contributors

cmhettinger avatar

Watchers

 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.