-
Notifications
You must be signed in to change notification settings - Fork 3
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
Full installation guide #1
Comments
Added some details. |
DB schema created successfully created ( I used mysql instead ),
what is missing now is the data/samples/sample_data.sql, Thank you! |
I guess your configuration is ok. You don't need any extra things. Maybe, sql file may not be executed correctly in mysql because I used sqlite to sampling my example. You may need some correction for SQL. Now, you can install Postman and add collection and send requests. |
Yeah, the configuration is ok and the DB schema was correctly created by Doctrine2. "Now you should create a sample user and client to simulate example oauth actions. Please run but there isn't a "data/sample" directory or am I mistaking? Thank you |
Ops :) I am really sorry dude. These days, I think I spend a lot of time with my new baby. Sent new updates. Please don't hesitate to reach me about any other problem 👍 |
I really appreciate your help :) |
You can change some part of this example. For example, |
Everything is installed and I think it works fine! :) I have last request about documentation but obviously feel free to add it whenever you want. Eg. client try to access the train booking microservice app (tbma), tbma communicates with oauth server, how is it happening? I think that the protected application should ask for client credentials right? What about if from the "tbma" the client goes to another resource server ( eg. hotel booking microservice app, hbma ), how to propagate the client session to this second resource? Also some graphic schema should be very helpful. Thank you! |
For your first question, you can use client credential with clientId and clientSecret to get token from oauth server. You can see all the scenario in RFC. For second question, your authorization server can be in the middle of your structure . All of your applications (microservice apps), can create and check their tokens with this central server. So, your hbma application can check this coming token with the central server. |
I did some research and I also I've found some helpful video resources on Youtube, anyway RFC was also helpful. Thanks for your help and time! :) |
You can check this line. PHP |
|
Perfect, thank you very much :) |
Is it possible to have a full installation guide inside the README file
with all the steps explained?
Actually I'm stuck at the doctrine db creation.
Thank you
The text was updated successfully, but these errors were encountered: