I’m working with the Go examples for login and authorization.
Login: Auth0 Go SDK Quickstarts: Login
Authorization: Auth0 Go API SDK Quickstarts: Authorization
Working with the login example I’m able to get the login page to appear for my domain and create a user and login. Moving to the authorization example calls for needing an access token without providing how to get one. I found the access token from the login app and print it to the console for use in the authorization example. This fails saying that the token is invalid. Turning to jwt.io if I paste my access token here it says the token is not valid json.
I’m stuck with how to resolve this. My goal is to allow users to access an API with their unique token to authenticate themself. Any docs or example you could point me to for this would be appreciated.