NIT-Software / Modern-Ecommerce

Enterprise Modern E-commerce: Spring Boot, Spring data REST APIs + AngularJS/Bootstrap. The project is supporting by NIT-Software & 689Cloud, Inc. It's FREE open source code, you can clone, custom and redistribute as your needs
142 stars 93 forks source link

Swagger UI throws 401 Unauthorized or Access Token is expired #7

Open murugaraja opened 6 years ago

murugaraja commented 6 years ago

Hi,

I am able to run spring boot and Angular App successfully.

But while trying to see swagger UI(http://localhost:8080/api_docs/index.html), I am getting bellow error.

401 : {"description":"Unauthorized or Access Token is expired","statusCode":401} http://localhost:8080/api_docs/index.html/v2/api-docs?group=apis

Could you please suggest me what is the token I need to pass and how to pass it.

same way I am getting: http://localhost:8080/ecommerce-rest-api/api/v1/1/products/filter {"description":"Unauthorized or Access Token is expired","statusCode":401}

Thanks, Raja.

chandujotter commented 6 years ago

I am also getting same problem, But while trying to see swagger UI(http://localhost:8080/api_docs/index.html), I am getting bellow error. 401 : {"description":"Unauthorized or Access Token is expired","statusCode":401}

madodabado commented 6 years ago

did it solve ?!

geniusfreelancers commented 6 years ago

I am sorry but what is that you talking about?

Get Outlook for Androidhttps://aka.ms/ghei36


From: mohammad ahmad almughrabi notifications@github.com Sent: Wednesday, July 11, 2018 1:21:24 PM To: NIT-Software/Modern-Ecommerce Cc: Subscribed Subject: Re: [NIT-Software/Modern-Ecommerce] Swagger UI throws 401 Unauthorized or Access Token is expired (#7)

did it solve ?!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/NIT-Software/Modern-Ecommerce/issues/7#issuecomment-404247241, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeXQn28dZZsEx791n5XaODGTC34mNWd6ks5uFjQUgaJpZM4SxSfv.

madodabado commented 6 years ago

I face unauthorize issue and when i run the backend then ibrun admin front end but index.html keep loading nothing appear in other hand site front end do not load any product or category from database or if i try to sign up its not working