SlideShare a Scribd company logo
Cutting edge web development on
the Salesforce platform
A Salesforce IT story
Andy Bean
Senior UI/UX Designer
abean@salesforce.com
Robert Birbeck
Senior Software Engineer
rbirbeck@salesforce.com
Phi Tran
Software Engineer
ptran@salesforce.com
Safe Harbor
​Safe harbor statement under the Private Securities Litigation Reform Act of 1995:
​This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties
materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or
implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking,
including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements
regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded
services or technology developments and customer contracts or use of our services.
​The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality
for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and
rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with
completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our
ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer
deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further
information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the
most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing
important disclosures are available on the SEC Filings section of the Investor Information section of our Web site.
​Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available
and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that
are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
What is the future of the Intranet?
Architecture
How do we obscure multi-org complexity and provide a best in class mobile and desktop experience?
identity
● Workday
● ADP
● Etrade
Canvas
Google Search Appliance
SSO
2 Factor authentication
IP whitelisting
signed
request
oauth
User Authentication - Signed Request
identity
Canvas
signed
request
User Authentication - Signed Request
Concierge Signed Request flow
Quick Simple Overview:
● User opens app in Salesforce1
● Platform makes a POST to our server
● Server decodes payload
POST
server.route( [
{
method: 'POST',
path: '/auth/signedrequest',
config: {
auth: { <--- Auth Handler
strategy: 'signedRequest',
payload: 'required'
},
handler: RouteHandlers.authRequest <--- Route Handler
}
}
} );
Org & Heroku Config
Server Route Config
payload: function ( request, reply ) {
…
canvasRequest = decorder( request.payload.signed_request, process.env.clientSecret );
…
return reply.continue( { credentials: canvasRequest } );
}
Org & Heroku Config
Server Route Config
authRequest: function ( request, reply ) {
return reply.view( config.get( 'view' ), { canvasContext: request.auth.credentials } );
},
Org & Heroku Config
Server Route Config
Setting up OAuth with Heroku
OAuth Flow using hapi
1. Request Service
2. Redirect
5. Render View
3. Redirect URI w/ authorization code
4. POST to authorize endpoint
server.route( [
{
method: ['GET', 'POST'],
path: '/auth/oauth',
config: {
auth: {
strategy: 'oAuth'
},
handler: RouteHandlers.authRequest,
}
}
} );
Org & Heroku Config
Server Route Config
server.auth.strategy( 'oAuth', 'bell', {
clientId: options.clientId,
clientSecret: options.clientSecret,
provider: {
protocol: 'oauth2',
auth: options.endpoint + '/services/oauth2/authorize',
token: options.endpoint + '/services/oauth2/token',
}
} );
Org & Heroku Config
Server Route Config
How do we make this work on the desktop? SSO + 2FA
● Setting up OAuth
● Extension
○ 2FA
○ SSO
● Light client code
Cutting Edge Mobile Development in the App Cloud
Thank you

More Related Content

What's hot (20)

PDF
Spice up Your Internal Portal with Visualforce and Twitter Bootstrap
Salesforce Developers
 
PDF
Advanced Uses of Salesforce's Login Flows
Salesforce Developers
 
PDF
Spring '17開発者向け新機能
Salesforce Developers Japan
 
PDF
Présentation de la platefome Heroku
Thierry TROUIN ☁
 
PPTX
Fremont Salesforce Community Group - Salesforce Labs Day - October 2019
Jayant Jindal
 
PPTX
Build Better Communities with Lightning
Salesforce Developers
 
PDF
Salesforce開発入門 Webセミナー
Salesforce Developers Japan
 
PPTX
Diving Into Heroku Private Spaces
Salesforce Developers
 
PPTX
Salesforce World Tour Amsterdam: Guide your users through a process using path
Lieven Juwet
 
PDF
Introduction à Force.com Canvas Webinaire
Salesforce Developers
 
PDF
Lightning Platform Product Managers: Ask Us Anything!
Salesforce Developers
 
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 
PDF
次世代のパッケージング Packaging 2(Pilot)
Takahiro Kawabata
 
PPTX
Unleash the Power of Apex Realtime Debugger
Salesforce Developers
 
POTX
Using the Google SOAP API
Salesforce Developers
 
PDF
Winter '18 開発者向け新機能
Salesforce Developers Japan
 
PPTX
Webinar: Build Apps Customers Love as a Salesforce Developer
Salesforce Developers
 
PDF
MuleSoft Anypoint Platformのコンセプトとサービス
Salesforce Developers Japan
 
PDF
Heroku CIを触ってみる
Mitch Okamoto
 
PDF
#DF17Recap series: Make apps smarter with Einstein
Salesforce Developers
 
Spice up Your Internal Portal with Visualforce and Twitter Bootstrap
Salesforce Developers
 
Advanced Uses of Salesforce's Login Flows
Salesforce Developers
 
Spring '17開発者向け新機能
Salesforce Developers Japan
 
Présentation de la platefome Heroku
Thierry TROUIN ☁
 
Fremont Salesforce Community Group - Salesforce Labs Day - October 2019
Jayant Jindal
 
Build Better Communities with Lightning
Salesforce Developers
 
Salesforce開発入門 Webセミナー
Salesforce Developers Japan
 
Diving Into Heroku Private Spaces
Salesforce Developers
 
Salesforce World Tour Amsterdam: Guide your users through a process using path
Lieven Juwet
 
Introduction à Force.com Canvas Webinaire
Salesforce Developers
 
Lightning Platform Product Managers: Ask Us Anything!
Salesforce Developers
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 
次世代のパッケージング Packaging 2(Pilot)
Takahiro Kawabata
 
Unleash the Power of Apex Realtime Debugger
Salesforce Developers
 
Using the Google SOAP API
Salesforce Developers
 
Winter '18 開発者向け新機能
Salesforce Developers Japan
 
Webinar: Build Apps Customers Love as a Salesforce Developer
Salesforce Developers
 
MuleSoft Anypoint Platformのコンセプトとサービス
Salesforce Developers Japan
 
Heroku CIを触ってみる
Mitch Okamoto
 
#DF17Recap series: Make apps smarter with Einstein
Salesforce Developers
 

Similar to Cutting Edge Mobile Development in the App Cloud (20)

PPT
Developers guide to the Salesforce1 Platform
John Stevenson
 
PDF
Developer Tour on the Salesforce1 Platform
Salesforce Deutschland
 
PDF
Real-time Salesforce1 Dashboards with Raspberry-pi & Heroku
Salesforce Developers
 
PPTX
S1 Tour Paris Developpeurs
Peter Chittum
 
POTX
OAuth for Non Developers in Salesforce
Peter Chittum
 
PPT
Salesforce Summer of Hacks London - Introduction
John Stevenson
 
PPTX
Salesforce App Cloud First Call Deck
Salesforce Partners
 
PPTX
How to Shop Smart on AppExchange by Jenn Romaniszak
Salesforce Admins
 
PPTX
Navi Mumbai Salesforce DUG meetup on integration
Rakesh Gupta
 
PPTX
Salesforce Campus Tour - Developer Advanced
James Ward
 
PPTX
Web Apps for Salesforce with Heroku Connect
Tom Gersic
 
PPTX
Introducing the Salesforce platform
John Stevenson
 
PDF
Building Mobile Apps That Deliver Salesforce to Your Employees
Salesforce Developers
 
PPTX
Build, Manage, and Deploy Mobile Apps Faster with App Cloud Mobile
Salesforce Developers
 
PDF
Salesforce: Go Faster with Lightning (DocuSign DevCon)
Mary Scotton
 
PDF
Get Started with Lightning Web Components Open Source
Developer Force
 
PDF
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
Pronovix
 
PPTX
Trailhead live - Overview of Salesforce App Cloud
John Stevenson
 
PPTX
Reimagine Customer, Partner, and Employee Engagement - Cesar Castro
FeverBee Limited
 
PDF
Just-In-Time Sharing Using Apex
Salesforce Developers
 
Developers guide to the Salesforce1 Platform
John Stevenson
 
Developer Tour on the Salesforce1 Platform
Salesforce Deutschland
 
Real-time Salesforce1 Dashboards with Raspberry-pi & Heroku
Salesforce Developers
 
S1 Tour Paris Developpeurs
Peter Chittum
 
OAuth for Non Developers in Salesforce
Peter Chittum
 
Salesforce Summer of Hacks London - Introduction
John Stevenson
 
Salesforce App Cloud First Call Deck
Salesforce Partners
 
How to Shop Smart on AppExchange by Jenn Romaniszak
Salesforce Admins
 
Navi Mumbai Salesforce DUG meetup on integration
Rakesh Gupta
 
Salesforce Campus Tour - Developer Advanced
James Ward
 
Web Apps for Salesforce with Heroku Connect
Tom Gersic
 
Introducing the Salesforce platform
John Stevenson
 
Building Mobile Apps That Deliver Salesforce to Your Employees
Salesforce Developers
 
Build, Manage, and Deploy Mobile Apps Faster with App Cloud Mobile
Salesforce Developers
 
Salesforce: Go Faster with Lightning (DocuSign DevCon)
Mary Scotton
 
Get Started with Lightning Web Components Open Source
Developer Force
 
An Inside Look at a Large-scale Writer-driven REST API Doc Solution at Salesf...
Pronovix
 
Trailhead live - Overview of Salesforce App Cloud
John Stevenson
 
Reimagine Customer, Partner, and Employee Engagement - Cesar Castro
FeverBee Limited
 
Just-In-Time Sharing Using Apex
Salesforce Developers
 
Ad

More from Salesforce Developers (20)

PDF
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
PDF
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Salesforce Developers
 
PDF
Local development with Open Source Base Components
Salesforce Developers
 
PPTX
TrailheaDX India : Developer Highlights
Salesforce Developers
 
PDF
Why developers shouldn’t miss TrailheaDX India
Salesforce Developers
 
PPTX
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
PPTX
CodeLive: Converting Aura Components to Lightning Web Components
Salesforce Developers
 
PPTX
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
PPTX
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
PDF
Live coding with LWC
Salesforce Developers
 
PDF
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
PDF
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
PDF
Lightning web components episode 2- work with salesforce data
Salesforce Developers
 
PDF
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
PDF
Migrating CPQ to Advanced Calculator and JSQCP
Salesforce Developers
 
PDF
Scale with Large Data Volumes and Big Objects in Salesforce
Salesforce Developers
 
PDF
Replicate Salesforce Data in Real Time with Change Data Capture
Salesforce Developers
 
PDF
Modern Development with Salesforce DX
Salesforce Developers
 
PDF
Get Into Lightning Flow Development
Salesforce Developers
 
PDF
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Salesforce Developers
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Salesforce Developers
 
Local development with Open Source Base Components
Salesforce Developers
 
TrailheaDX India : Developer Highlights
Salesforce Developers
 
Why developers shouldn’t miss TrailheaDX India
Salesforce Developers
 
CodeLive: Build Lightning Web Components faster with Local Development
Salesforce Developers
 
CodeLive: Converting Aura Components to Lightning Web Components
Salesforce Developers
 
Enterprise-grade UI with open source Lightning Web Components
Salesforce Developers
 
TrailheaDX and Summer '19: Developer Highlights
Salesforce Developers
 
Live coding with LWC
Salesforce Developers
 
Lightning web components - Episode 4 : Security and Testing
Salesforce Developers
 
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
Lightning web components episode 2- work with salesforce data
Salesforce Developers
 
Lightning web components - Episode 1 - An Introduction
Salesforce Developers
 
Migrating CPQ to Advanced Calculator and JSQCP
Salesforce Developers
 
Scale with Large Data Volumes and Big Objects in Salesforce
Salesforce Developers
 
Replicate Salesforce Data in Real Time with Change Data Capture
Salesforce Developers
 
Modern Development with Salesforce DX
Salesforce Developers
 
Get Into Lightning Flow Development
Salesforce Developers
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Salesforce Developers
 
Ad

Recently uploaded (20)

PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
The Future of Artificial Intelligence (AI)
Mukul
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 

Cutting Edge Mobile Development in the App Cloud

  • 1. Cutting edge web development on the Salesforce platform A Salesforce IT story Andy Bean Senior UI/UX Designer [email protected] Robert Birbeck Senior Software Engineer [email protected] Phi Tran Software Engineer [email protected]
  • 2. Safe Harbor ​Safe harbor statement under the Private Securities Litigation Reform Act of 1995: ​This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. ​The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. ​Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 3. What is the future of the Intranet?
  • 4. Architecture How do we obscure multi-org complexity and provide a best in class mobile and desktop experience? identity ● Workday ● ADP ● Etrade Canvas Google Search Appliance SSO 2 Factor authentication IP whitelisting signed request oauth
  • 5. User Authentication - Signed Request identity Canvas signed request
  • 6. User Authentication - Signed Request Concierge Signed Request flow Quick Simple Overview: ● User opens app in Salesforce1 ● Platform makes a POST to our server ● Server decodes payload POST
  • 7. server.route( [ { method: 'POST', path: '/auth/signedrequest', config: { auth: { <--- Auth Handler strategy: 'signedRequest', payload: 'required' }, handler: RouteHandlers.authRequest <--- Route Handler } } } ); Org & Heroku Config Server Route Config
  • 8. payload: function ( request, reply ) { … canvasRequest = decorder( request.payload.signed_request, process.env.clientSecret ); … return reply.continue( { credentials: canvasRequest } ); } Org & Heroku Config Server Route Config
  • 9. authRequest: function ( request, reply ) { return reply.view( config.get( 'view' ), { canvasContext: request.auth.credentials } ); }, Org & Heroku Config Server Route Config
  • 10. Setting up OAuth with Heroku OAuth Flow using hapi 1. Request Service 2. Redirect 5. Render View 3. Redirect URI w/ authorization code 4. POST to authorize endpoint
  • 11. server.route( [ { method: ['GET', 'POST'], path: '/auth/oauth', config: { auth: { strategy: 'oAuth' }, handler: RouteHandlers.authRequest, } } } ); Org & Heroku Config Server Route Config
  • 12. server.auth.strategy( 'oAuth', 'bell', { clientId: options.clientId, clientSecret: options.clientSecret, provider: { protocol: 'oauth2', auth: options.endpoint + '/services/oauth2/authorize', token: options.endpoint + '/services/oauth2/token', } } ); Org & Heroku Config Server Route Config
  • 13. How do we make this work on the desktop? SSO + 2FA ● Setting up OAuth ● Extension ○ 2FA ○ SSO ● Light client code