Coder Social home page Coder Social logo

cv65kr / authorization-service Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 510 KB

Authorization service based on Spring

License: MIT License

Dockerfile 0.64% Shell 1.39% Makefile 2.24% Java 73.00% Gherkin 22.73%
bdd docker microservice mongodb oauth2-server redis spring tdd

authorization-service's People

Contributors

cv65kr avatar

Watchers

 avatar

authorization-service's Issues

Escaping argument value for client create command

Wrong save in DB bcrypt hash, there is bash problem.

Excepted: $2y$12$1Xf4lvYLDxYFfJTteebdAuRo4lxrQ1uj1tuhBdDeOPaQstYevfG8u
Current result: Xf4lvYLDxYFfJTteebdAuRo4lxrQ1uj1tuhBdDeOPaQstYevfG8u

root@cpx make client="account-service" secret="$2y$12$1Xf4lvYLDxYFfJTteebdAuRo4lxrQ1uj1tuhBdDeOPaQstYevfG8u" grants="client_credentials,refresh_token" scopes="server" client

docker-compose -f docker-compose.yml -f docker-compose.dev.yml exec mongo bash /create-client.sh "account-service" "yXf4lvYLDxYFfJTteebdAuRo4lxrQ1uj1tuhBdDeOPaQstYevfG8u" "client_credentials,refresh_token" "server"
Creating client...
MongoDB shell version v4.2.3
connecting to: mongodb://127.0.0.1:27017/users?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("c0c7687b-bb17-4b5f-94b6-96be729088cd") }
MongoDB server version: 4.2.3
WriteResult({ "nInserted" : 1 })
bye

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.