Forum Discussion

AsadGilani's avatar
AsadGilani
Occasional Contributor
4 years ago
Solved

ReadyAPI Authentication

Dear Friends,
I wanted to configure the authentication for my services using OAuth 2.0(Azure profile). While configuring there is a section of Redirect URL. what is Redirect URL? How can we configure the Redirect URL?
I tried with the value http://localhost:8080 as I read in the documentation but it did not work.
Can anyone explain here also what URL should we provide to get the access token ?

 

Regards

Asad

  • Hey AsadGilani,

    You need to google OAuth v2 process flow diagrams to understand OAuth 2 processing (or 1 actually). Once you understand the processing flow/sequence you'll then understand the concept.

    However, i scraped the following content from another website:

    "Redirect URLs are a critical part of the OAuth flow. After a user successfully authorizes an application, the authorization server will redirect the user back to the application with either an authorization code or access token in the URL"

    Hope this helps,

    Rich

3 Replies

  • richie's avatar
    richie
    Community Hero
    Hey AsadGilani,

    You need to google OAuth v2 process flow diagrams to understand OAuth 2 processing (or 1 actually). Once you understand the processing flow/sequence you'll then understand the concept.

    However, i scraped the following content from another website:

    "Redirect URLs are a critical part of the OAuth flow. After a user successfully authorizes an application, the authorization server will redirect the user back to the application with either an authorization code or access token in the URL"

    Hope this helps,

    Rich
    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Thank you Richie!

       

      AsadGilani Please let us know if Richie's reply helped!

  • AsadGilani's avatar
    AsadGilani
    Occasional Contributor

    No updates on it.If anyone have idea please reply it here.