Applications
Applications give you full access to features on Wink and TripPay and lets your users authenticate and log into your site using our OAuth2 authorization server; just like Facebook and Google. You can build your own OTA with Wink. It starts with an application.
By default, you get an app when you register a new Wink affiliate account or TripPay account. We use the client ID
for some scenarios.
For this example, we will authenticate via Wink Studio.
- Once authenticated, click your profile icon, in the top-right corner, and a menu will appear.
- Click the
Applications
link. - You will be redirected to your apps page.
Create app
As you cannot access the secret key
of the app we created for you, you will need to create your own.
Here are the steps to creating an application:
- From the apps page, click the
Create new application
button. - Name Give your app a name. e.g. Cool App
- Entity name Link your app with one of your existing accounts. e.g. Cool Account
- Redirect URIs At least one redirect URI is required. It is used for validating the redirect domain after a successful authentication. e.g. https://www.cool-site.com
- Click the
Save
button to continue.
You are redirected back to your list of applications. You will see your new app in the list and have access to the app secret key only this once. Make sure to copy it and save it in a safe place.
Update app
You will need to update your app if one of your redirect URIs change or you want to add or remove a URI.
To update an existing app, do the following:
- Click the
Actions
link for the app you want to update. - Click the
Update
button under Actions. - Make your changes to the app.
- Click the
Save
button to continue.
You are redirected back to your list of applications.
Remove app
If you have no further use for an app, you can go ahead and remove it.
To remove an app, do the following:
- Click the
Actions
link for the app you want to update. - Click the
Remove
button under Actions. - Click
OK
button to confirm deletion.
You are redirected back to your list of applications.