-
Notifications
You must be signed in to change notification settings - Fork 105
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
Receiving empty token #5
Comments
Hi, @mharini You can use String encryptPassword = Utils.passwordEncoder("password");
System.out.println(encryptPassword);
//the output will be:
//$2a$10$TXYbtrgn5/6hO9xpd/bkPuUJ9abOxXzWrbRzlse0djMUO51vJ2h1i copy the output value and replace the one in Check Updated Repository <- This repository is referring to current one , some code fix and more detailed explain based on this one. |
Hi,Does your demo supports the oauth2 passowrd model ? |
@Akourtiim @chendu when i run code after appoving in my client it shows error: |
Hi,
I downloaded the code and ran the application.
I could successfully run the "authorization_server" and create/modify client details. I can also see the changes in my db.
After that, I ran "resource_server" and used the CURL command from ./client.sh file.
In the terminal, I am receiving this:
Got token for curl client as :
{"error":"invalid_token","error_description":"Invalid access token: "}
In the Eclipse console, I am getting this warning:
o.s.s.c.bcrypt.BCryptPasswordEncoder : Encoded password does not look like BCrypt
Can you help me with this?
The text was updated successfully, but these errors were encountered: