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

Enabling Authentication and Custom Authentication does not generate model or controller files. #341

Closed
tscaff opened this issue Jun 16, 2023 · 2 comments
Labels
question Further information is requested

Comments

@tscaff
Copy link

tscaff commented Jun 16, 2023

I am attempting to regenerate Harmony Core with Authentication enabled to provide the ability for JWT token generation and authentication

"Authentication": true,
"CustomAuthentication": true,

When I do the CLI harmonycore regen command, I do not see the AuthenticationModels.dbl, AuthenticationController.dbl or AuthenticationTools.dbl files being generated.

We currently do not have OData enabled and do not intend to enable it at this time. I hope that that is not required for this.

Have I missed a setting somewhere?

@tscaff tscaff added the question Further information is requested label Jun 16, 2023
@tscaff
Copy link
Author

tscaff commented Jun 16, 2023

I am using this tutorial as my guide for this.

https://github.com/Synergex/HarmonyCore/wiki/Tutorial-03-01-Authentication-via-Custom-Code

@tscaff tscaff changed the title Enabling Authentication and Custom Authentication does not generate model or controler files. Enabling Authentication and Custom Authentication does not generate model or controller files. Jun 16, 2023
@tscaff
Copy link
Author

tscaff commented Jun 20, 2023

@hippiehunter thanks for the code that you mentioned Matt had fixed the implementation to generator JWT authorization code and tagging. That worked perfectly! Thanks for the great help! Cheers!

@tscaff tscaff closed this as completed Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant