Comments (2)
I don't think so. Client id is not the username. I tried the username as the email address that was registered with azure with no luck, but username leaving the domain out i saw a different error
Exception in thread "main" java.util.concurrent.ExecutionException: com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS90019: No tenant-identifying information found in either the request or implied by any provided credentials.\r\nTrace ID: e40596bf-5661-4d99-aa7e-3b7165581e00\r\nCorrelation ID: 649b78be-4308-4917-b595-f1ae56c4c78c\r\nTimestamp: 2017-11-23 22:14:51Z","error":"invalid_request"}
from active-directory-java-native-headless.
Indeed, clientId and username are the the same. the clientId is a GUID which represents the application
Thanks for the feedback. The sample was updated with clear instructions on how to register the Azure AD application (or even scripts to do that)
from active-directory-java-native-headless.
Related Issues (15)
- Client Secret Error HOT 15
- how to set client secret into aquireToken method that uses username and password HOT 2
- Getting javax.net.ssl.SSLHandshakeException HOT 1
- AuthenticationException: WsTrust endpoint not found HOT 5
- Authenticate to Azure AD non interactively in Java HOT 2
- AADSTS90013: Invalid input received from the user HOT 2
- Authenticate to Azure AD fails with access denied HOT 1
- Issue with 'client_secret or client_assertion' missing HOT 1
- The documentation should describe the require change to get the token HOT 5
- Getting error regarding usage of application was not consented HOT 1
- Fail to run the sample, due to error: NullPointerException, policy is null in WSTrustRequest.execute. HOT 8
- Error: Interaction required HOT 4
- 400 error from IdP HOT 2
- java.net.MalformedURLException: no protocol HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from active-directory-java-native-headless.