Oauth2 Instagram API “redirect URI does not match registered redirect URI”

前端 未结 10 1677
甜味超标
甜味超标 2020-12-15 06:41

I am working on a Rails application which is in development mode and it can register with omniauth.

The host is

http://localhost:3000/
10条回答
  •  臣服心动
    2020-12-15 07:32

    ...Or you can follow the instructions here:

    https://instagram.com/developer/authentication/?hl=en

    See "Step One: Direct your user to our authorization URL" section.

    Just simply supply your CLIENT_ID and REDIRECT_URI.

    https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code
    

提交回复
热议问题