•   over 5 years ago

Genome Link - Error: invalid_request - Invalid client_id parameter value

I am following
https://genomelink.io/developers/docs/tutorial-oauth-example/
Steps 1 to 3 are working fine.
In step 4, after I enter username (test-user-1 or 2 or 3) and password, I get error:
Genome Link - Error: invalid_request - Invalid client_id parameter value

Please look into this and advise.
Thank you,
Lalit

  • 4 comments

  • Manager   •   over 5 years ago

    Hi,

    Thank you for trying out the tutorial.

    It could be because of some invalid settings. Could you double-check:

    On web console:

    Set redirect uris
    - `http://127.0.0.1:3000/callback`

    Set scopes (whitelists) in "Authorization scopes" panel 
    - `report:eye-color`
    - `report:beard-thickness`
    - `report:morning-person`

    On your command line:

    Export env vars
    - GENOMELINK_CLIENT_ID=
    - GENOMELINK_CLIENT_SECRET=
    - GENOMELINK_CALLBACK_URL=

    and then run your app. 

    NOTE: `127.0.0.1` and `localhost` are distinguished.

    If it doesn't work, tell me your username of GENOME LINK. We'll investigate further.

    Thanks!

  •   •   over 5 years ago

    @Kensuke:
    Thank you for your response.
    Please unlock my username LalitAPatel, if it is blocked.
    Please delete my username LalitAPatel1, which I created after LalitAPatel did not work.
    Thank you.

  • Manager   •   over 5 years ago

    Um... `LalitAPatel` has not been blocked. This "Error: invalid_request - Invalid client_id ..." is related to the app's client id and is not related to the developer account itself.

    Ok. I've deactivated your second account.

  •   •   almost 5 years ago

    Minor edit for Windows environment (Python 3.7.0):
    The URL environment variable setting in step 3 has to be done without the double quotes:

    SET GENOMELINK_CALLBACK_URL=http://127.0.0.1:5000/callback

    With the double quotes, the OAuth will give an invalid URI error.

Comments are closed.