+ All Categories
Home > Documents > Entrata Vendor · Entrata Vendor https://[app_url]?referrer=entrata &auth_code=[auth_code] -...

Entrata Vendor · Entrata Vendor https://[app_url]?referrer=entrata &auth_code=[auth_code] -...

Date post: 16-Jul-2020
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
1
Entrata Vendor https://[app_url]?referrer=entrata &auth_code=[auth_code] https://sync.entrata.com/api/oauth - decrypt auth_code to verify user and check expiration - verify client_secret and client_id - generate access_token for current user and app { "auth": { "type": "oauth", "code":"[auth_code]", "grant_type":"authorization_code" "client_id": "[client_id]", "client_secret": "[client_secret]" }, "method": { "name": "getAccessToken", "params": { } } } - Use access token in header to make api call and request user info { "response": { "result": { "access_token":"[token]", "expires_in":3600, "token_type":"bearer", "scope":[scopes] } } } "Authorization: Bearer [access_token]" { "auth": { "type": "oauth", }, "method": { "name": "getUserInfo", "params": { } } } https://sync.entrata.com/api/oauth { "response": { "result": { "user_id" : "a5b116f547", "company_name":[name], "subdomain":[subdomain], "properties":[] } } } Welcome to Vendor Site! Tab Tab Tab Tab Tab Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. The Big Oxmox advised her not to do so, because there were thousands of bad Vendor Site Login Login Username Password Register - Vendor checks to see if they recognize the user_id - if it is already tied to one of their users, they can authenticate them and take the user to their page. Access token can be saved on user - if it is not already tied to a user, the user is taken to the login page. - After logging in, the previously acquired user info is saved to the vendor's user for future auth App SSO Authentication
Transcript
Page 1: Entrata Vendor · Entrata Vendor https://[app_url]?referrer=entrata &auth_code=[auth_code]  - decrypt auth_code to verify user and check expiration

Entrata Vendor

https://[app_url]?referrer=entrata &auth_code=[auth_code]

https://sync.entrata.com/api/oauth- decrypt auth_code to verifyuser and check expiration

- verify client_secret and client_id- generate access_token for currentuser and app

{ "auth": { "type": "oauth", "code":"[auth_code]", "grant_type":"authorization_code" "client_id": "[client_id]", "client_secret": "[client_secret]" }, "method": { "name": "getAccessToken", "params": { } }}

- Use access token in header tomake api call and request user info

{ "response": { "result": {

"access_token":"[token]","expires_in":3600,"token_type":"bearer","scope":[scopes]

} }} "Authorization: Bearer [access_token]"

{ "auth": { "type": "oauth", }, "method": { "name": "getUserInfo", "params": { } }}

https://sync.entrata.com/api/oauth

{ "response": { "result": {

"user_id" : "a5b116f547","company_name":[name],"subdomain":[subdomain],"properties":[]

} }}

Welcome to Vendor Site!TabTabTabTabTab

Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.

A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.

Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar. The Big Oxmox advised her not to do so, because there were thousands of bad

Vendor Site Login

Login

Username

Password

Register

- Vendor checks to see if theyrecognize the user_id- if it is already tied to one of theirusers, they can authenticate themand take the user to their page.Access token can be saved on user- if it is not already tied to a user,the user is taken to the login page.

- After logging in, thepreviously acquired user infois saved to the vendor's userfor future auth

App SSO Authentication

Recommended