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 Image Removed- it's a system user.
  2. Create new client with the type MIS using user from the p.
    Image Removed1
  3. Assign MIS USER role to userImage Removed
  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 Image Removed- can be checked via Mithril admin.
  5. Create 2 new tokens: access_token and refresh_tokenImage Removed
  6. Image Removed
  7. 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 file. origin - domain from where MIS users will be allowed to upload files.

      Code Block
      languagejs
      collapsetrue
      [
        {
          "origin": ["https://mis-url.com/"],
          "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


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

...