cancel
Showing results for 
Search instead for 
Did you mean: 

BTP API NestJS without approuter

LuizGomes
Participant
0 Kudos
150

Is it possible to develop an API with BTP JWT authentication but without using the approuter? A totally independent API?

LuizGomes
Participant
0 Kudos

Accepted Solutions (0)

Answers (1)

Answers (1)

mariusobert
Developer Advocate
Developer Advocate
0 Kudos

Short answer: Yes, this is possible.

The long answer is, as you can expect, a bit more complicated: You don't need to use the approuter to authenticate users. E.g. you can use CAP to implement an UI and use any webserver to access this API. As you mentioned NestJS in your question, you probably don't want to use CAP either. In this case, I'd recommend that you check out the following package:

@sap/xssec