on 08-24-2018 1:26 AM
Hi experts,
I have a requirement to retrieve a JWT (Json Web Token) for external authentication from an SAP backend server. However, it does not appear that there are any ABAP libraries/functions available for jwt generation. What would be your recommendation for generation of this jwt in the SAP backend?
The actual generation of the token is, of course, quite simple (https://jwt.io/) but does not seem possible in ABAP. We are currently investigating using the JCo to connect to the java stack and run the generation there or perhaps running a backend server on netweaver which will be able to be called from the frontend UI5 application if neccessary. What are your recommendations for what the best practice for this could be?
Thank you for any advice.
wolfgang.janzen Our requirement is that end user logs in to any moblie app/web app using Azure AD and gets a JWT token ,now while access any odata service ,I want to validate and verify the token only; all steps mentioned in https://wiki.scn.sap.com/wiki/display/Security/Access+Microsoft+Azure+using+the+OAuth+2.0+Client+API
basically re log in the user instead of just verifying the open id token.kindly suggest the right approach.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
vamshi.bommena Our requirement is that end user logs in to any moblie app/web app using Azure AD and gets a JWT token ,now while access any odata service ,I want to validate and verify the token only; all steps mentioned in https://wiki.scn.sap.com/wiki/display/Security/Access+Microsoft+Azure+using+the+OAuth+2.0+Client+API
bascially re log in the user instead of just verifying the open id token.kindly suggest.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
vamshi.bommena : see my answer above - you need to distinguish between the two scenarios: ABAP acting as OAuth2 client or acting as OAuth2 server.
Kind regards,
Wolfgang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Green,
where you able to read JWT token in abap? we have a similar use case where we need to retrieve JWT token in odata service.
Thanks
Vamshi Bommena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.