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 jwt support #48

Closed
atomfrede opened this issue Apr 22, 2022 · 7 comments · Fixed by #59
Closed

Add jwt support #48

atomfrede opened this issue Apr 22, 2022 · 7 comments · Fixed by #59
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $200 https://www.jhipster.tech/bug-bounties/

Comments

@atomfrede
Copy link
Member

While poking around with the gradle part I used mostly jwt instead of oauth. Eventually running the native image failed because of missing jjwt classes. Is that only related to gradle or do we only support oauth for now?

@mraible
Copy link
Collaborator

mraible commented Apr 22, 2022

The original examples that Josh and I created only tested OAuth. We should support JWT. It's probably just a matter of adding type hints for classes instantiated with reflection.

@atomfrede
Copy link
Member Author

Yes think so too, just wanted to make sure its not related to gradle.

@linghengqian
Copy link

Refer to jwtk/jjwt#637 (comment) .

@atomfrede
Copy link
Member Author

Thanks @linghengqian. Seems not to complicated (but I did say the same about adding gradle support 🤣)

@atomfrede atomfrede changed the title jwt support Add jwt support Apr 26, 2022
@mraible mraible added $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $200 https://www.jhipster.tech/bug-bounties/ labels Aug 15, 2022
atomfrede added a commit to atomfrede/generator-jhipster-native that referenced this issue Aug 19, 2022
atomfrede added a commit to atomfrede/generator-jhipster-native that referenced this issue Aug 21, 2022
atomfrede added a commit to atomfrede/generator-jhipster-native that referenced this issue Aug 21, 2022
mshima added a commit that referenced this issue Aug 21, 2022
#59)

* add jwt reflect and resource config to support jwt authentication type

closes #48

* init thread pool executor for mvc

* correct webflux jwt ci config

* Initialize async executor at reactive too

* add locale to reflect config also for webflux

* add additional entry to reflect config

Co-authored-by: Marcelo Shima <marceloshima@gmail.com>
@atomfrede
Copy link
Member Author

@mshima Can you do a the release again?

@mshima
Copy link
Member

mshima commented Aug 22, 2022

@atomfrede done.

@atomfrede
Copy link
Member Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $200 https://www.jhipster.tech/bug-bounties/
Projects
None yet
4 participants