You are viewing Skygear v1 Documentation.Switch to Skygear v0 Documentation

User login with Instagram

This article teaches you how to setup Instagram login in your application.

Setup Instagram application

  1. Click register your application in Instagram developer portal.

    Instagram developers portal

  2. Create client id. Make sure Valid redirect URIs contains following URL. Replace ${APP_NAME} with your app name.

    https://${APP_NAME}.skygeario.com/sso/instagram/auth_handler
    

    Instagram create client id

  3. Save your Client ID and Client Secret.

    Instagram obtain client id

  4. Go to Skygear portal, User Auth > Social Login. Enable Instagram in social connections and input your Client ID and Client Secret.

    Instagram Skygear portal

  5. Optional: Select the default permissions from Skygear portal, it will be used when user login with Skygear SDK. You can still overwrite it by providing another set of scope in the SDK call.

Login with Instagram through Skygear SDK