Giter Club home page Giter Club logo

km-log's Introduction

Server CI

Km Log

Setup

Authentication with Microsoft Account

  1. Register a AAD app in the Azure Active Directory > App registrations area of the Azure portal.
  2. Provide a Name for the app (for example, kmlog-<username>).
  3. In Supported account types, select Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox).
  4. Leave the Redirect URI drop down set to Web and provide the following redirect URI:
    • Dev: http://localhost/signin-microsoft
    • Other: https://<DOMAIN>/signin-microsoft
  5. Select Register. (the following steps are in the newly registered app)
  6. Check Application (client) ID in Overview.
  7. Add Client Secret in Certificates & Secrets.
  8. Store Client Id and Client Secret in appsettings.json or secrets.json (app secrets) of KmLog.Server.WebApi in the following format:
{
    "Azure": {
        "ClientId": "<CLIENT_ID>",
        "ClientSecret": "<CLIENT_SECRET>"
    }
}

Development

Use the docker-compose in KmLog.Server\docker-compose.database as mssql database.

docker-compose up

Add emails of authorized Microsoft account(s):

  • Manually insert into database
insert into [User]
  (Id, Email, Role)
values
  (newid(), '[email protected]', 0)

km-log's People

Contributors

chrismuellner avatar jpineker avatar

Watchers

James Cloos 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.