I am trying to Authenticate in discogs: https://www.discogs.com/developers/#page:authentication,header:authentication-oauth-flow on the Point 2: SEND A GET REQUEST TO THE DISCOGS REQUEST TOKEN URL, I get this: on the POINT 3: REDIRECT YOUR USER TO THE DISCOGS AUTHORIZE PAGE, I’ve created this piece of code: But I got this error: but I get this error: Answer The error provided indicates that your
Tag: oauth-2.0
Get access token using Spring Security with a specific use-case
Is this use-case supported for Spring Security 5, or something else, where we don’t have to reinvent the wheel? Thoughts on how to (re)implement this better? Details are as follows. 3rd party vendor …
Spring 5 Oauth2 – How to provide the check token URL in my Resource server?
I need some help.. I set up an AuthorizationServer using @EnableAuthorizationServer from Spring-security-oauth2 for grant type “client_credentials”. Able to create, check tokens and everything good with this. /oauth/token /oauth/checkToken Followed this sample for Authorization server I have a separate project that has the REST APIs to be secured. I can’t use @EnableResourceServer because that project uses Spring 5.2.8 and the
com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request (Eclipse)
I have been stuck at “Deploy to APP Engine” from Eclipse, and following error message always popped up. Possible actions what I can think of were taken but all failed. An error occurred …
Cannot pass JWT refresh token as an argument
I’m trying to get a new access token using a refresh token in Spring Boot with OAuth2. It should be done as following: POST: url/oauth/token?grant_type=refresh_token&refresh_token=…. It works …
Refresh access_token via refresh_token in Keycloak
I need to make the user keep login in the system if the user’s access_token get expired and user want to keep login. How can I get newly updated access_token with the use of refresh_token on Keycloak? I am using vertx-auth for the auth implementation with Keycloak on vert.x. Is it possible to refresh access_token with vertx-auth or Keycloak’s REST
Spring Boot Oauth2 Extending DefaultTokenServices
I have an OAuth2 implementation that is working fine for the grant type = password. Now I need to add a logic of restricting the same user/password combination to be allowed to login again if the user …
CORS interfering with Spring Security oauth2
I’m having problems trying to get a token from oauth/token from the browser. I have a Spring Boot application with Spring Security and Spring Security oauth, and I’m trying to authenticate from a …