Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Web client of atmosphere

Build status

This client app for presenting dashboards and aggregated data collected in atmosphere

Required configurations

{
  "ConnectionStrings": {
    "AtmosphereDatabase": ""
  },
  "Authentication": {
    "Google": {
      "ClientID": "",
      "ClientSecret": ""
    }
  },
  "Authorization": {
    "SymmetricKey": ""
  },
  "ImagesEndpoint": ""
}

Run

You can either just run debugger in Visual Studio (which will spin up Node.js with hot reload) or run from CLI:

dotnet restore
npm install
node .\node_modules\webpack\bin\webpack.js --config webpack.config.vendor.js
dotnet run

Authorizations

Few words:

  • The authentication happens using Google
  • Once user lands on application after Google, the auth* HttpOnly cookie is written - Cookie scheme
  • / (root of SPA) and /account/bearertoken protected with scheme Cookie. This makes a cookie kinda refresh token.
  • When API request made from SPA it first will obtain an access token in JWT format from /account/bearertoken
  • All API controllers protected with Bearer scheme

About

No description or website provided.

Topics

Resources

Releases

No releases published

Packages

No packages published