redirect_uris(where the user will be sent after they authorize their health plan data be shared with your app) and securely save your client ID and secret. If you have multiple
redirect_urisyou can enter them in a comma separated list like in example below.
localhostredirect with our PROD environments, but can in our sandbox while testing and developing.
[email protected]1up.health with the following information:
stand_alonelaunch and directly hit our authorization server
https://auth.1updemohealthplan.com/oauth2/authorize/testendpoint. When you hit this endpoint, you will need to include the following query parameters.
client_id: This must contain the client_id of the application you previously registered in the 1upHealth developer console.
redirect_uri: This must contain the
redirect_uriyou registered with your application.
state: If you choose to pass a state with the request, the authorization server will simply return it as a query string parameter when redirecting to your application. This parameter is not required but it is recommended that it is used to confirm the validity of a session. See more here.
redirect_uriyou registered with your application client ID that you included as a URL parameter above, and will include the OAuth 2.0 auth code passed back as a query parameter. This authorization code expires in 5 minutes.
https://auth.1updemohealthplan.com/oauth2/tokenendpoint. This authorization code expires in 5 minutes. Below is a sample request where you will need to fill in your app details.