Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

New MIS should be registered manually by the NHS administrator using Mithril admin UI.

...

  1. Create new user for the client - it's a system user.
  2. Create new client with the type MIS using user from the p.1
  3. Assign MIS USER role to user
  4. Create new approval with all the scopes that should be available for new MIS. It shouldn't be more than available for the MIS client type - can be checked via Mithril admin.
  5. Create 2 new tokens: access_token and refresh_token
  6. Add new clients origins to the bucket configuration in the GSC
    1. Make sure that current project is set to ehealth-162117 (e.g. dev/demo and preprod).
    2. create new cors_configuration.json fileorigin - domain from where MIS users will be allowed to upload files.

      Code Block
      languagejs
      collapsetrue
      [
        {
          "origin": ["https://helsimis-url.mecom/"],
          "responseHeader": ["Content-Type"],
          "method": ["GET", "HEAD", "PUT"],
          "maxAgeSeconds": 3600
        }
      ]


    3. Apply CORS configuration to a bucket:

    4. Code Block
      languagejs
      collapsetrue
      gsutil cors set cors_configuration.json gs://declaration-requests-dev
      gsutil cors set cors_configuration.json gs://declaration-requests-preprod


  7. Share secret from the p.2 and token values from p.8-10 with MIS.

...