Hello all,
I've tried developping a CAP Node.js application and deployed to CF. But once I try to access my srv from outside (for example Postman) or with my ADFS user, it gives me 401 error.
How do I have to authenticate in order to not getting 401 error? If I do a POST to authentication URL, I have a 200 but no token, just a HTML and I don't really know how to retrieve my token.
Could you help me, please?
Best regards.
Request clarification before answering.
Assuming you have bound your application to XSUAA, The Token URL for XSUAA (OAuth 2.0 service in CF) is <THE URL OBTAINED FROM THE BINDING OBJECT "URL" FIELD>/oauth/token
see: BTP Documentation | Getting an Application Access Token and XSUAA Documentation | Retrieve Credentials for Remote Applications
Follow Capire | Using XSUAA-Based Authentication for adding XSUAA to your application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.