Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by tim.drews@ge.com · Mar 29, 2017 at 03:00 PM · uaaspring-bootjava

how do i get an access token from a spring boot service

I created a sample Spring Boot service to obtain an access token from UAA. I used the same connection details to successfully obtain a token with Postman.

I set the following properties in my application.yml file: security.oauth2.client:
clientId: clientSecret: accessTokenUri: userAuthorizationUri: tokenName: grant-type: id:

My service has one REST endpoint, which obtains a token. When I hit the end point, I get the following error:

Unable to obtain a new access token for resource 'ingestor'. The provider manager is not configured to support it.

Do I need any additional certificates or settings in my service to obtain a token from a service? I am following some of the sample code from the blog post below:

https://blog.altoros.com/using-predix-time-series-in-a-spring-boot-app.html

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

  • Sort: 
avatar image
0

Answer by Rupinder Gron · Feb 12, 2018 at 02:45 PM

Here the link for tutorial that answers your question: link text

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Tom Turner · Mar 29, 2017 at 03:22 PM

Take a look inside here.

https://github.com/PredixDev/winddata-timeseries-service

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

99 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Spring Boot app with UAA (and SSO) integration example/tutorial/seed 4 Answers

backend application UAA security 4 Answers

Problem in connectiong to postgres database 2 Answers

Validate the token using UAA Url 4 Answers

ACS spring security extensions and UAA 2 Answers

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests