버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.
Sv translation
languageko_KR


These steps are to be followed to acquire secret key from MagicInfo Premium Server.

NOTE: Secret key is required only when using MagicInfo Authentication Server version 21.1000.x and above with MagicInfo Premium Server version 21.1000.x and above.


1. Open MagicInfo swagger UI page.

http://magicinfo_premium_server_url:7001/MagicInfo/swagger-ui.html

2. Select REST API v2.0 in spec

3. Select /restapi/v2.0/auth under Authentication API Group.


Image Modified


4. Copy user credentials in response body and execute the api.

{

  "username" : "username",

  "password" : "password"

}


Image Modified


5. Copy token value in response and paste to api key value in authorize and click authorize button.


Image Modified


Image Modified


Image Modified


6. Now execute /restapi/v2.0/auth/secretKey api in Authentication API Group and copy secret key from the response.


Image Modified


7. Keep the secret key and copy it in config.properties of Authentication Server after installation.

magicinfo.secretKey = secretkey

...