Quantcast
Channel: Azure Active Directory forum
Viewing all articles
Browse latest Browse all 16000

Bad Request, Can't Sign In: AADSTS70001

$
0
0

I'm trying to implement OAuth 2.0 in a Rails application using a custom OmniAuth strategy to get read-only access to users' outlook emails. I can successfully redirect users to a sign in page with this URL:

https://login.microsoftonline.com/common/oauth2/authorize?client_id=<my_client_id>&prompt=consent&redirect_uri=https%3A%2F%2Frmbrance.ngrok.com%2Fauth%2Foffice365%2Fcallback&resource=https%3A%2F%2Foutlook.office365.com%2F&response_type=code&state=b20e2a7b585bbd21d233648684d19be17699ef15bac53cc7

However, I'm unable to sign a user in. I get this error every time.

Sorry, but we’re having trouble signing you in.
We received a bad request.

Additional technical information:
Correlation ID: 319e4862-b557-4d2f-bb7c-6c99986729ae
Timestamp: 2015-04-08 08:47:28Z
AADSTS70001: Application with identifier <my_client_id> was not found in the directory c512ffd1-581d-4dc0-a672-faee32f6387c


Viewing all articles
Browse latest Browse all 16000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>