cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

I am getting authentication error(login page) when we created new service in b2c storefront

srini_sandaka2
Participant
0 Likes
273

I am created a new service in storefront and tried to access through postman and its shows login page can any one please help on this.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

check spring-security-cinfig.xml file int your extension . you will must have some access condition on either all URLs or for any pattern which is come under this url. for example security:http> <security:intercept-url pattern="/**" access="ROLE_GROUP" /> <security:http-basic /> </security:http>

Former Member
0 Likes

need more description like which version of hybris you are using. what all costume security changes you did.
what is URL you were trying to access.

srini_sandaka2
Participant
0 Likes

i am using 6.1 version and didn't change any security code , i have created a new controller in storefront and trying to access like below in postman

https://localhost:9002/trainingstorefront/api/marketing/unsubscribe

its return log in page

please let me know where we need to customize security changes