I have been able to successfully generate a request token but I'm having trouble getting through authorization and on to generating an oauth token.
When I make a request into authorize, I'm noticing that the token is considered "authorized". I'm a bit confused why it would be doing this:
These are my settingsCode:org.springframework.security.authentication.AnonymousAuthenticationToken@6faeba70: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffbcba8: RemoteIpAddress: 0:0:0:0:0:0:0:1; SessionId: nwwhtqmrceg2eu08rvw7uust; Granted Authorities: ROLE_ANONYMOUS
Basic Auth for the api, which will change to OAuth once I get the access tokens
Provider Settings:Code:<sec:http create-session="stateless" entry-point-ref="entryPoint"> <sec:intercept-url pattern="/api/**" access="IS_AUTHENTICATED_FULLY" requires-channel="https"/> <sec:custom-filter ref="loginFilter" position="FORM_LOGIN_FILTER" /> <sec:http-basic/> <sec:logout /> </sec:http>
Code:<oauth:provider consumer-details-service-ref="vhConsumerDetailsService" token-services-ref="vhOAuthProviderTokenServices" verifier-services-ref="vhOAuthVerifierServices" nonce-services-ref="vhOAuthNonceServices" request-token-url="/oauth/request_token" authenticate-token-url="/oauth/authorize" access-granted-url="/accessGranted" access-token-url="/oauth/access_token" require10a="false"/>


Reply With Quote