Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      CFAMX 2020R4 Sprint 3
    • SCRUM Team:
      Brotherhood of Mutants
    • Story Points:
      5
    • Work Type Classification:
      Sustaining

      Description

      Story

      As an administrator, I would like a method to authenticate users who would like to access API.

      UAC

      Confirm

      1. Users with proper authentication are able to access InFORM API.
      2. Unauthenticated users can not connect to the API.

      Developer Notes

      For now, we are using our own developer Okta account for the auth server, configured to use the Client Credentials grant type.

      To use PostMan to call the API, go to the Authorization tab, select "Auth 2.0" as the TYPE, click "Get New Access Token," and fill out the modal form as follows:
      Token Name: (doesn't matter, pick anything you like)
      Grant Type: Client Credentials
      Access Token URL: https://dev-737058.okta.com/oauth2/default/v1/token*
      Client Id: 0oamae3j1zHJ4OTUv4x6
      Client Secret: MJy6OeN71RhAmUKxINLiVlG34NQwX_rAPr80xnPl
      Scope: manage:reasons

      Note that the client id, client secret, and scope may change. You can always find the latest information by logging into the Okta account here:
      url: https://dev-737058.okta.com/login/login.htm*
      login: david.nayyar@hotschedules.com
      pwd: MyVoiceIsMyPassport13

      • - the base url here may change as well, it will be in the Mx.config file under the appsetting key AuthServerUrl.

      Okta's article here may be helpful if there are any questions: https://developer.okta.com/blog/2019/03/13/build-rest-api-with-aspnet-web-api

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jason.powell Jason Powell
                Reporter:
                jason.powell Jason Powell
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 15h
                  15h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 15h
                  15h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.