I followed the quickstart guide to create a spring boot appliation using spring security and auth0.
I can get an access token for my resources with Curl using
curl --request POST \ --url 'https://caroni.eu.auth0.com/oauth/token' \ --header 'content-type: application/json' \ --data '{"grant_type":"password", "username":"USERNAME_OR_EMAIL", "password":"PASSWORD", "audience":"API_IDENTIFIER", "scope":"read:photos update:photos create:photos", "client_id": "ID", "client_secret": SECRET" }'
But when I use Lock on Android, how can I can an access token for the photos
resource? With Curl I get a long jwt but credentials.getAccessToken()
in the Lock callback is only about a dozen characters long.