Git Product home page Git Product logo

lykke.service.oauth's Introduction

WebAuth server

WebAuth is an OpenID Connect server based on ASOS and ASP.NET Core 1.0

How to create configuration file?

  • Create "ConnectionString" in appsettings.json file
  • Create generalsettings.json file template
  • Fill Db configuration
  • Fill fields:
    • ServiceUri - Url to API service
  • Your generalsettings.json file is ready

Before running

The application with the following data needs to be added to the Backoffice:

  • Application Name (will be used on the confirmation page)
  • Application Id (client id)
  • Secret key (client secret)
  • Redirect uri (redirection URI to which the response will be sent)

How to connect to the authentication server

The WebAuth server works according to the OpenID Connect specification.

The following URIs are accepted:

  • Authorization endpoint path is /connect/authorize
  • Logout endpoint path is /connect/logout
  • Token endpoint path is /connect/token
  • Userinfo endpoint path is /connect/userinfo

OpenID Connect uses the following OAuth 2.0 request parameters with the Authorization Code Flow:

  • scope REQUIRED OpenID Connect requests MUST contain the openid scope value.
  • response_type REQUIRED OAuth 2.0 Response Type value that determines the authorization processing flow to be used, including what parameters are returned from the endpoints used. This value is code.
  • client_id REQUIRED OAuth 2.0 Client Identifier.
  • client_secret REQUIRED OAuth 2.0 Client Secret.
  • redirect_uri REQUIRED Redirection URI to which the response will be sent. This URI MUST exactly match the Redirection URI value for the Client pre-registered.
  • state RECOMMENDED Opaque value used to maintain state between the request and the callback. Typically, Cross-Site Request Forgery (CSRF, XSRF) mitigation is done by cryptographically binding the value of this parameter with a browser cookie.

Possible scope values:

  • profile This scope value requests access to the 'given_name', 'family_name' and 'documents' Claims.
  • email This scope value requests access to the 'email' Claims.
  • address This scope value requests access to the 'country' Claims.

.Last build status

lykke.service.oauth's People

Contributors

samodovdi avatar avtopilot avatar mskobzev avatar gmaf avatar kobzev avatar tengiz-merabishvili avatar konstantinryazantsev avatar nickhow83 avatar olegtrofimenko avatar ozhelenkov avatar mmusin avatar emanx140 avatar aushakov avatar amigin avatar andreyzhylin avatar optimusway avatar novichikhinalexey avatar ozhetest avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar Albert Ibragimov avatar  avatar Sergey Nesterov avatar  avatar Sergei Polonskii avatar Michael Kobzev avatar  avatar Mitch Clay avatar  avatar  avatar Vitalii D avatar  avatar  avatar Darko Stepanovic avatar misha avatar Aleksandr Belousov avatar  avatar Shahpour avatar  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.