Fredx87 / cypress-keycloak-commands

Cypress commands for login with Keycloak
MIT License
69 stars 30 forks source link

PKCE support #31

Open ahjaworski opened 3 years ago

ahjaworski commented 3 years ago

Is it possible to login when you have PKCE enabled in your Keycloak client? https://oauth.net/2/pkce/

I have PKCE enabled and this gives errors when I try to login with this library. When I disable PKCE, the login works just fine. Am I doing something wrong or is it just not supported? If so, it would be nice if the documentation could be extended with the remark that PKCE is currently not supported. It would be even nicer if PKCE would be supported by the library.

appukuttan-shailesh commented 2 years ago

@ahjaworski : did you find a way to do this? I am facing a similar problem.

dchipan commented 1 year ago

@ahjaworski I have the same problem, did you find a solution ?

ahjaworski commented 1 year ago

I'm not aware of a solution on this issue. We disable PKCE on the client of our staging environment, that is where we run our tests.

jdtully commented 1 year ago

I swear other people have branched this due to the OP not looking at it in so long. I haven't figured out how to use the branches tho

On Fri, Apr 28, 2023 at 7:10 AM AH Jaworski @.***> wrote:

I'm not aware of a solution on this issue. We disable PKCE on the client of our staging environment, that is where we run our tests.

— Reply to this email directly, view it on GitHub https://github.com/Fredx87/cypress-keycloak-commands/issues/31#issuecomment-1527402678, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALVKJ2UODKXP6C6SHY533ILXDOQTDANCNFSM4VU2T3OA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jeffrey Tully