I’m creating an android application (using Java in android studio). My app should redirect to the monzo authentication server where I enter my email and press submit. Then I should receive an email with a link which when pressed takes me to the monzo app to authenticate. Once that’s done, I should be redirected back to my application. For some reason, when I enter my email and press submit nothing happens at all. Does anyone know why?
Below is my code (client ID has been changed for security purposes) and attached is an image of what happens when I run the app :
String clientID = "xxx"; String redirectURI = "www.moneytor.com"; String state = "state_token"; String redMonzo = "https://auth.monzo.com/?client_id=" + clientID + "&redirect_uri=" + redirectURI + "&response_type=code&state=" + state; Uri uri = Uri.parse(redMonzo); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent);