Giter Club home page Giter Club logo

esignet-mock-services's Introduction

esignet-mock-services

Repository contains mock implementation of auth for e-signet

Installing in k8s cluster using helm

Pre-requisites

  1. Set the kube config file of the Mosip cluster having dependent services is set correctly in PC.
  2. Make sure DB setup is done.
  3. Add / merge below mentioned properties files into existing config branch:
  4. Add below properties in esignet-default.properties incase using MockAuth for esignet.
    mosip.esignet.integration.scan-base-package=io.mosip.authentication.esignet.integration,io.mosip.esignet.mock.integration
    mosip.esignet.integration.binding-validator=BindingValidatorServiceImpl
    mosip.esignet.integration.authenticator=MockAuthenticationService
    mosip.esignet.integration.key-binder=MockKeyBindingWrapperService
    mosip.esignet.integration.audit-plugin=LoggerAuditService
    mosip.esignet.integration.captcha-validator=GoogleRecaptchaValidatorService
    
  5. Below are the dependent services required for compliance toolkit service:
    Chart Chart version
    Keycloak 7.1.18
    Keycloak-init 12.0.1-B3
    Postgres 10.16.2
    Postgres Init 12.0.1-B3
    Config-server 12.0.1-B3
    Artifactory server 12.0.1-B3
    esignet-softhsm 12.0.1-B2
    redis 17.3.14
    esignet 1.0.0
    oidc-ui 1.0.0

Install

  • Install kubectl and helm utilities.
  • Run install-all.sh to deploy esignet services.
    cd helm
    ./install-all.sh
    

Delete

  • Run delete-all.sh to remove esignet services.
    cd helm
    ./delete-all.sh
    

Restart

  • Run restart-all.sh to restart esignet services.
    cd helm
    ./restart.sh
    

Onboard esignet mock and relying party services

  • Run onboarder's install.sh script to exchange jwk certificates.

Configurational steps after onboarding is completed.

  • Below mentioned onboarding steps are added after 1.2.0.1-b3
    • Onboarding the default demo-oidc partner

###.Onboarding the default resident-oidc partner

  • After successfull partner onboarder run for demo-oidc partner , download html reports from onboarder bucket of object store .
  • Get CLIENT_ID from response body of request create-oidc-client from the report demo-oidc.html
  • Update deployment of mock-relying-party-ui in esignet namespace with CLIENT_ID value from last step .
  • As per screenshot get the private and public key pair (shown as selected in the screenshot )from the response of the get-jwks request from the report demo-oidc.html
  • Update client-private-key in esignet namespace with base64 encoded value of the keypair from previous step.
  • Restart mock-relying-party-service pod

esignet-mock-services's People

Contributors

rakshithb1 avatar ase-101 avatar yaswanthnagarjuna avatar anshulv1401 avatar himajadhanyamraju2 avatar ckm007 avatar akilalakshmanan avatar mahesh-binayak avatar gsasikumar avatar syedsalman3753 avatar rakshitha650 avatar vishwa-vyom 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.