How to get access toker in edX Data Analytics APIedX Data Analytics API

34 views
Skip to first unread message

Ross Baker

unread,
Dec 17, 2018, 9:12:16 AM12/17/18
to General Open edX discussion
I have installed native open edx on azure VM. And also installed edX Data Analytics API using this link

How to get access token. 



Capture.PNG



David Adams

unread,
Dec 17, 2018, 1:16:54 PM12/17/18
to General Open edX discussion
That would be whatever you used for ANALYTICS_API_AUTH_TOKEN when installing the API.

Ross Baker

unread,
Dec 27, 2018, 2:30:14 AM12/27/18
to General Open edX discussion
Thankyou David for your response.

I have reinstalled using this link. Because  of we need to insights also.

After reinstalled, I am getting deferent SWAGGER. 

Capture.PNG

My change in "/edx/etc/analytics_api.yml"

SOCIAL_AUTH_EDX_OIDC_ID_TOKEN_DECRYPTION_KEY: c83xxxxxxxxxxxxxxxx
SOCIAL_AUTH_EDX_OIDC_ISSUER: http://mypublic-ip/oauth2
SOCIAL_AUTH_EDX_OIDC_KEY: c83xxxxxxxxxxxxxxxxxxxxxx
SOCIAL_AUTH_EDX_OIDC_LOGOUT_URL: http://mypublic-ip0/logout
SOCIAL_AUTH_EDX_OIDC_PUBLIC_URL_ROOT: http://mypublic-ip/oauth2

SOCIAL_AUTH_EDX_OIDC_SECRET: 04xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
SOCIAL_AUTH_EDX_OIDC_URL_ROOT: http://mypublic-ip/oauth2

How to authentication analytics API?
Reply all
Reply to author
Forward
0 new messages