(Legacy) How to test Authentication and Authorization flows using 51黑料不打烊鈥檚 API Test site How-to-test-auth-flows
In order to test the AuthN and AuthZ flows, we have prepared an API test site which is at your disposal. Our support team will be happy to supply you with credentials. You can contact us at tve-support@adobe.com.
Part I part-I
For testing against the RELEASE environment, skip directly to Part II. In order to test in the pre-qualification environment, see Setting up Your Environment and Testing in Pre-Qual.
Part II
After completing Part I, carry out the following steps:
-
Open webpage: .
-
Load access enabler by:
- Picking from the dropdown menu from where you want to access it (staging or production) and if it should be in debug mode
- Entering the software statement with which you want to test
- Then clicking on the 鈥Load Access Enabler鈥 button.
-
Now set the requestor id value to 鈥requestorID鈥 and click on the 鈥渟etRequestor鈥 button.
-
After that press on the 鈥済etAuthentication鈥 button and wait for the display picker to show up.
-
Select the 鈥MVPD鈥 from the picker.
-
Enter your credentials on the 鈥MVPD鈥 login page.
-
After being redirected back, redo steps 1 to 3
-
After redoing step 3 on the 鈥渟etAuthenticationStatus鈥 you should see the value 鈥1鈥. If the authentication did not work, the MVPD dialog box will be shown.
-
To test authorization, in the input field on right of the buttons labeled as 鈥渃heckAuthorization鈥 and 鈥済etAuthorization鈥 enter the resource you for which you wish to authorize and click on the 鈥済etAuthorization鈥 button.
-
As a result, in the 鈥渟etToken鈥->鈥渞esource id鈥 textbox the resource will be shown and in 鈥渟etToken鈥->鈥渢oken鈥 textbox the shortAuthorizationToken will be shown meaning that authZ was successful.
-
Now you can click on the 鈥渓ogout鈥 button to delete the tokens.