cancel
Showing results for 
Search instead for 
Did you mean: 

How to mock XSUAA for Local Machine for SpringBoot Application without CAP ?

Hi,

I am using app-router with XSUAA for SpringBoot Application in SAP BTP (CF).

While this works great but I am unable to find the best way to mock the XSUAA services for local development.
i.e. How do I generate a local Bearer Token and validate it ?

Note: I understand CAP provides this mocking out of the box but this use case is without CAP so far.


Regards,
Saad

Accepted Solutions (0)

Answers (1)

Answers (1)

dvankempen
Product and Topic Expert
Product and Topic Expert

Hi Mohammed,

Good question!

Are you familiar with the blog post?

Maybe the author, boudhayan_dev, can share his insights on the topic.

==

See also the GitHub repo

You could consider to open an issue for your request.

Hi Denys,
I did checkout blog but I think the versions are outdated. Maybe boudhayan_dev can share more insights on this.
+ there should be a standard way for offline token validation, this seems to be a hack. (I'll implement it 🙂 if this is the way to go.
Yes, I think it's best to open an issue.
Thanks for your feedback.

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks for bringing this up, Mohammad.