on 11-01-2017 2:13 PM
I've created a REST Sender adapter and checked "Allow public access (no authorization required)".
The CORS value is set to "Allow all clients".
When testing the endpoint I'm getting a 401 in SoapUI
The url is http://sappo-hostname:50000/RESTAdapter/endpoint?parameter=value
If I log in or pass login credentials the service works.
My requirement is to have this endpoint to be publicly available without logging in.
How can I manage this?
what is your Pi version and sp?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this link for workaround, It works for me.
https://answers.sap.com/questions/12836671/why-the-allow-public-accessno-authorization-requir.html
Thanks & Regards
Uday Suvvada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Everyone,
For me its working when i select Allow public access is enabled and Allow all clients.
but i need the option Allow only specific Clients when i select that option and its asking CORS enabled URIs,
what we need to give here, can anyone help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all.
I face the same issue.
I have channel and it works fine, but after restart PI instance i get this error.
Finally i found out that PI catch another REST communication channel for my endpoint, that requires Authentication . In XPI inspector message like "Channel object CC_WTF_REST_SENDER found for URL /mygoodrestURL"
After change endpoint url in wrong catched channel everything works as expecting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Everyone,
I too face the same issue. Allow public access is enabled and Allow all clients option is chosen, but server still requires authorization. Request is failing with unauthorized error. Do any of you still face the same issue ?
Regards,
Nirmal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good question! I should have included this in the OP.
We are at 7.31 SP19, which should be the equivalent of 7.4 SP16.
Since the feature was introduced in PI 7.4 SP13, we should be ok?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.