Estimated time: 4 minutes
If you have completed the workspace configuration from Entry Dashboard, skip this and proceed to Run a sample app locally
The basis of any integration is creating a client app in your workspace.
- 1.Choose your
App ID: it must be an ASCII combination that your app will use for integration.
openid-connect- Entry uses this protocol for seamless secure integrations, originating from customer apps.
Next, you will configure your App and receive the parameters you will need to save on your backend.
For local development
Here we are providing the settings for your local development, assuming that you will be running a quickstart sample from our repo.
http://localhost:3000/*in Valid Redirect URIs field - you will need this so that Entry would send you back to your app after successful login. On the screenshot below it's highlighted in blue.
http://localhost:3000in Web Origins field - you will need this so that Entry would know origins to access data in the workspace. On the screenshot below it's highlighted in yellow.
- 3.Copy your Secret Key - you will need it for configuring your example.
- 4.Copy a domain part of the Authorization Endpoint (highlighted in green): in this case it's https://
That's it! Now you are ready to test Entry with a sample app or to integrate it with your app based on our quickstart.
Explore a sample app
Estimated time: 2 minutes
This is the part of the repo that stores the sample code:
- 1.Open your terminal.
- 2.Clone the repo and go to the
git clone https://github.com/XIX-Entry/quickstarts.git && cd react-typescript
- 3.Make sure to read and install the dependencies mentioned in
react-typescript/README.mdfile, both in
react-typescript/src/oidc-config.tsfile with your favorite text editor and put your settings into the file:
client_idshould be your App ID from above, in this case
client_secretshould be your Secret key
authorityshould be Authorization Endpoint we've copied before: e.g.
- 5.Run your application with
- 6.Open your sample app in any browser at
http://localhost:3000- you will be able to log in to your sample app with Entry, and after being redirected, you will see the raw content of your user profile.