기존 사용하던 Client id / Client Secret을 webMethods API Management 에서 관리

<1> 신규 생성

  • 전체 Flow 과정
    • INPUT 값 매핑 -> ID 값 을 Application/authStrategyIds (StringList) 에 Append -> Strategies 생성 -> Application 생성

  • Main Service

  • INPUT 값 ( 어플리케이션 생성 시 필수 입력 값 )


  • Application 생성 Document

  • Strategies 생성 Document

  • MAP ( SET INPUT )

Application/owner = Administrator
Application/description = "description 입력"
Application/version = 1.0

Strategy/authServerAlias = local
Strategy/type = OAUTH2
Strategy/dcrConfig/authServer = local
ApplicationType <=> Strategy/dcrConfig/clientType ( CONFIDENTIAL ) ( or PUBLIC )
Strategy/dcrConfig/applicationType = WEB ( * 주의* 화면 단과 이름이 동일하지만 다른 데이터 )


  • Append to String List




  • Gateway 화면 (**** 테스트 시 consumingAPIs(Application) / Scope(Strategies) 등록은 제외하고 실행 ( 화면에서 등록 ) ****)



  • 토큰 발급 호출 (HTTPS)


  • 해당 Bearer 토큰으로 인증 테스트 ( TEST API 호출 )


<2> 업데이트 (안됨)
  • 생성된 Strategy 조회 -> 업데이트 (기존 생성된 Application id 값이 매핑 되어있기 때문에 Strategy만 업데이트)
  • 업데이트 불가능 -> 화면단에서 어플리케이션 삭제 후 진행 or 서비스로 삭제 후 신규 재생성 필요