Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the system does not authorize my graphql query #50

Closed
c4rlosdias opened this issue Apr 20, 2023 · 2 comments
Closed

the system does not authorize my graphql query #50

c4rlosdias opened this issue Apr 20, 2023 · 2 comments
Assignees

Comments

@c4rlosdias
Copy link

unauthorized
I made a simple query using the address: https://api.bsdd.buildingsmart.org/graphql

, and the system responds with code 401, unauthorized. Is some kind of authorization required to query this way?
The documentation says that you don't need any kind of authorization!
Thanks in advance.

@VladimirAlexiev
Copy link

https://test.bsdd.buildingsmart.org/graphql doesn't need authentication. The production endpoint does.

@Baars-IT
Copy link
Collaborator

Baars-IT commented Aug 2, 2023

Vladimir is correct: the production endpoint is secured: https://api.bsdd.buildingsmart.org/graphqls (note the "s" at the end).
The documentation was not very clear about this (it was mentioned), updated the documentation: https://github.com/buildingSMART/bSDD/blob/master/Documentation/bSDD%20and%20GraphQL.md.

In the bSDD API documentation (https://github.com/buildingSMART/bSDD/blob/master/Documentation/bSDD%20API.md) you can find more info how to access secured APIs and GraphQL.

@Baars-IT Baars-IT closed this as completed Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants