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

Add login-username support #183

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

Mstrodl
Copy link
Collaborator

@Mstrodl Mstrodl commented Oct 4, 2022

Shown for the "Username Form" login step.

I would also like to work on:

  • login-password.ftl
  • webauthn-authenticate.ftl

But first want to see opinions on this!

p.s. I would appreciate a hacktoberfest-accepted label if you're okay with it!

@@ -59,6 +59,7 @@
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
Copy link
Collaborator Author

@Mstrodl Mstrodl Oct 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was getting peer dependency errors without this. Let me know if this is an issue

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem

@@ -13,6 +13,7 @@ import { Reflect } from "tsafe/Reflect";
// https://github.com/keycloak/keycloak/blob/main/services/src/main/java/org/keycloak/forms/login/freemarker/Templates.java
export const pageIds = [
"login.ftl",
"login-username.ftl",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These didn't appear in any particular order. Is this an okay place to put this?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@garronej garronej added the hacktoberfest-accepted https://www.digitalocean.com/blog/hacktoberfest-2022-your-mission-for-open-source label Oct 4, 2022
@garronej
Copy link
Collaborator

garronej commented Oct 4, 2022

Hey @Mstrodl thank you so much for this great contribution.

Would you run yarn format?

Shown for the "Username Form" login step.

I would also like to work on:
- `login-password.ftl`
- `webauthn-authenticate.ftl`

But first want to see opinions on this!
@Mstrodl Mstrodl force-pushed the feature/mstrodl/login-username branch from 02bc084 to e3a0639 Compare October 4, 2022 15:22
@Mstrodl
Copy link
Collaborator Author

Mstrodl commented Oct 4, 2022

Hey @Mstrodl thank you so much for this great contribution.

Would you run yarn format?

Hmm, I did do this. Looks like I forgot to regenerate the lockfile (I use pnpm normally). Should be fixed now!

@garronej garronej merged commit 4b93a1c into keycloakify:main Oct 4, 2022
@garronej
Copy link
Collaborator

garronej commented Oct 4, 2022

@Mstrodl I've updated the log and released a new version 6.5.0.

Thanks again! �

@garronej
Copy link
Collaborator

@all-contributors please add @Mstrodl for code

@allcontributors
Copy link
Contributor

@garronej

I've put up a pull request to add @Mstrodl! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted https://www.digitalocean.com/blog/hacktoberfest-2022-your-mission-for-open-source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants