New MIS should be registered manually by the NHS administrator using Mithril admin UI.
Env | URL |
---|---|
dev | http://mithril.dev.ehealth.world/ |
demo | http://mithril.demo.ehealth.world/ |
pre-prod | |
prod |
- Create new user for the client - it's a system user.
- Create new client with the type MIS using user from the p.1
- Assign MIS USER role to user
- 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.
- Create 2 new tokens: access_token and refresh_token
- Add new clients origins to the bucket configuration in the GSC
- Make sure that current project is set to
ehealth-162117
(e.g.dev
/demo
andpreprod
). - create new cors_configuration.json file
[ { "origin": ["https://helsi.me/"], "responseHeader": ["Content-Type"], "method": ["GET", "HEAD", "PUT"], "maxAgeSeconds": 3600 } ]
- Make sure that current project is set to
- Share secret from the p.2 and token values from p.8-10 with MIS.