The Meveto Button

Last updated: Mar 12, 2020


Your application will generally need a login button to let users initiate Meveto login action. For this, you are free to design and implement the button in any way you want. However, your application must implement the following requirements to initiate a Meveto login to your application.

Meveto Login URL

The login button must open this URL in a browser window. Additionally, this URL must also carry the required query parameters that are listed below.

https://dashboard.meveto.com/oauth-client
Query parameters for the Login URL
client_id

This is the ID of your application. You will get this value after the registration of your application with Meveto.

scope

This is the scope of access your application is requesting. At the moment, it should always be default-client-access

response_type

This is the type of response your application is expecting from Meveto's OAuth server. At the moment it should always be code

redirect_uri

This the redirect URL of your application. At the time of registration of your application, you must have provided one. Meveto will redirect back to this URL once it completes user authentication.

This URL must be exactly the same as the one you have provided at the time of registration with Meveto. For example, https://www.meveto.com and http://meveto.com or meveto.com and https://meveto.com are NOT THE SAME and these URLs will be treated as different. Your application's request will be rejected if the redirect URLs are not exactly the same.

state

This is generally a long random string. For more details on the state parameter, Read here.

An example Login URL

Here is an example URL that your application's "Login with Meveto" button/action should trigger in a browser window.

https://dashboard.meveto.com/oauth-client?client_id=123456&scope=default-client-access&response_type=code&redirect_uri=https://your-app.com/meveto/redirect&state=55V6WtTw9q4IgWUObj6D7ISKDhgoNeYV02kJrqknwO4tYmo4mWjLpuJYIDxZYSIMGaGbzl6LrmlTfrWuWNY5AtyS0yIRH5UlTQMl3QdgJbGuCf24Q8LXybFYZ1Pc8ygNZy9cebzoCDFkpx6zj903c6plkSm0ZafZ5eaRxIU1kQP0BGwYCUz8KtzhGQeu2Hc1n2aAt7D3mrPlbI6gvpwPLYcsJmMB1P29tjQjzpUzhGHOrokZX4shvdLpoJWfQOBI