use resource input directly
check if access token is set
add stream resource and provider