Forum Discussion
https://developer.okta.com/blog/2018/10/31/jwts-with-java
- richie6 years agoCommunity Hero
Cheers nmrao
I've found out - they're using OAuth v2.0 with Authorization Code as the grant type - but the solution is a total bodge on that pattern.
The developer has managed to set it up in postman and just to get the authorization token takes 16 sequential REST requests!
I'm just gonna grab the postman collection! :)
nice one!
richie
- nmrao6 years agoChampion Level 3In that case, solution seems to be different and the link I provided did not help it seems.
May be you can add your solution instead of my reply.- richie6 years agoCommunity Hero
Hey nmrao
I marked up your response as the accepted solution because this is the only way to close the ticket. and because you did try and help me.
Essentially the whole OAuth v2.0 authentication process is a total bodge and only partially relates to the Authorization Code grant type - ReadyAPI! supports the functionality to support this grant type - but the whole process has been customised to the point it bears no resemblance and isn't transferrable - hence the reason why I didn't add the solution of what I'm doing
The process I'm using has 16 REST requests (a couple POSTs but mostly GETs) and nowhere else would use this approach. Essentially the Technical Architect that was supposed to be reviewing the solution left and the developers did whatever they could to get the process to work - but architecturally - the approach is an antipattern and would never, ever be used elsewhere.
If perhaps one of the forum admins would be able to delete the post - that would make more sense - Olga_T - is there any chance you could delete this topic? ta
Cheers,
richie
Related Content
- 3 years ago
- 7 years ago
Recent Discussions
- 5 days ago
- 10 days ago