cancel
Showing results for 
Search instead for 
Did you mean: 

OAuth 2.0 Ready API Security Tests unable to get Token

SOLVED
Highlighted
Occasional Visitor

OAuth 2.0 Ready API Security Tests unable to get Token

When using the Ready API Security Tests Auth Manager I can't get past the initial Login/Token page in the browser, which at the end simply shows me "Unfortunately, we can't open this page!"

 

I am using the OAuth Example to grab the token and the Login portion is automated properly and does the login with Username/Password and clicks Login.  Then it shows me the white page which simply notes it can't open the page.  There is no token at the end (manually doing this I have seen the token accepted but with the browser window still in place and blank, closing it the token is unaccepted.  I've seen this reported in many areas but no solution that has worked for me.

 

I have adjusted everything available in the Auth Manager but can't get past this issue when running the tests manually, which makes me doubt these tests will pass if I want to automated them from the command line.

 

I have adjusted the browser settings, in preferences using Hostname Verification, we do not have a cert and using that causes hostname errors.

 

Since we have automated the OAuth process in a different framework I have that as a Jar I could add, but there doesn't seem to be a place to call it in the Security Tests, unless I am missing that.

 

Is there something else to check and get more logging on the browser issue, to diagnose more, or is this a problem with OAuth 2 in the Security Tests?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Re: OAuth 2.0 Ready API Security Tests unable to get Token

Hi @furmaniukm ! Are you still facing this?

The best way to proceed is to open a support ticket. They will analyze your code and see what can be done. 

When you have a solution, please share it with us!


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

1 REPLY 1
Highlighted
Community Manager

Re: OAuth 2.0 Ready API Security Tests unable to get Token

Hi @furmaniukm ! Are you still facing this?

The best way to proceed is to open a support ticket. They will analyze your code and see what can be done. 

When you have a solution, please share it with us!


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Compete with community members in the TechCorner Challenge and get into the Leaderboard!

Rank Participant Points Earned
1 msiadak 12
2 nmrao 8
3 HimanshuTayal 3
Top Kudoed Authors