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

Testserver does not evaluate the authorization header #6

Closed
gitterrost4 opened this issue Apr 16, 2020 · 3 comments · Fixed by #7 or #8
Closed

Testserver does not evaluate the authorization header #6

gitterrost4 opened this issue Apr 16, 2020 · 3 comments · Fixed by #7 or #8
Assignees
Labels
enhancement New feature or request

Comments

@gitterrost4
Copy link

In order to test whether Authorization via oauth2 works, the test server needs to evaluate the Authorization-Header and refuse connection with a missing or invalid JWT.

@yncyrydybyl
Copy link
Member

Testserver means https://share2hub-r2g-api-dev.apps.prod.rd2g.de/ ?

@gitterrost4
Copy link
Author

Yes.

@kat-ka kat-ka transferred this issue from fahrgemeinschaft/share-square-commons May 25, 2020
@kat-ka kat-ka added the enhancement New feature or request label May 26, 2020
@kat-ka kat-ka closed this as completed in #7 Jun 4, 2020
@kat-ka
Copy link
Contributor

kat-ka commented Jun 4, 2020

Deployed to Test https://share2hub-r2g-api-dev.apps.prod.rd2g.de

The test instance uses Keycloak realm "master" and scope "order" for authorization.
To generate the access token client id "share2-hub-cantamen" can be used for example.

Some details are in the README.md file.

@kat-ka kat-ka linked a pull request Jul 3, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
5 participants