Skip to content

gouravsood/spring-security-oauth2-salesforce-servlet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modified title
2021-12-16 22:15:42 UTC
spring-security-oauth2-salesforce

spring-security-oauth2-salesforce

Spring Boot Security OAuth Authorisation Code Flow (Web Server) with Salesforce using Servlet Stack. If you are looking for same OAuth implementation using Reactive Stack, then check this repo: https://github.com/gouravsood/spring-security-oauth2-salesforce-reactive

Steps to run this project

  1. Create a Connected App in Salesforce and copy the Consumer Key and Consumer Secret
  2. In application.yml file (src/main/resources/application.yml)
    1. replace client-id with Consumer Key from Connected App
    2. replace client-secret with Consumer Secret from Connected App
  3. Run mvn clean install
  4. Start the server with mvn spring-boot:run
  5. Go to URL http://localhost:8080/accounts access the protected Accounts records from Salesforce.

About

Spring Boot Security OAuth Authorisation Code Flow (Web Server) with Salesforce using Servlet Stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors