Can not access api through access token

Hi there! Our team is using Django + okta social login. After we set up everything for oauth2 authentication and successfully login and an access token start with ''eyJra…" store in our db. But when I try to use okta-sdk-python to config the client, it shows “RSA key format is not supported”. Anyone can help me out? thx

I believe the okta python sdk requires a service app which means user login is not required/does not occur. Are you passing a valid private key in the client configuration?
https://developer.okta.com/docs/guides/implement-oauth-for-okta-serviceapp/overview/

1 Like