Comments (4)
Oh thank you! It was something if front of the request, there is a WAF that blocked access, it was allowing requests yesterday but it started blocking. Thank you for responding, apologies, the error was on my end.
from keycloak-magic-link.
Thanks for the report @g4laura. Can you please provide the complete request you are making, and how it is configured? Also, do you see any errors in the logs?
from keycloak-magic-link.
Thank you for the quick reply.
My request is a POST request in the form of
{{keycloakUrl}}/realms/{{realmName}}/magic-link
{
"username": "{{username}}",
"client_id": "{{clientId}}",
"redirect_uri":"{{redirectUri}}"
}
where keycloak url is the url of my deployed keycloak hostname which runs on AWS ECS with Fargate, Aurora Servers mySQL compatible database, and an application load balancer. And a bearer token with a client access token (with the appropriate service account permissions)
It works when I run it locally and it worked remotely up until last night, when the endpoint started returning 403 errors. It seems that request is forbidden before it can reach the endpoint, because it isn't returning 401 as it does if a POST request is made with an invalid access token.
from keycloak-magic-link.
Since it is working locally, and not on your server, can you check that your service account on your remote still has manage-users
? The only case in which this method will return a 403 is if that permission is not present for the user in the token.
https://github.com/p2-inc/keycloak-magic-link/blob/main/src/main/java/io/phasetwo/keycloak/magic/resources/MagicLinkResource.java#L30
Also, if you can post the full request and response (e.g. using something like a curl -vv
) that might help determine if it is the keycloak extension, or something in front of it that is blocking the request.
from keycloak-magic-link.
Related Issues (20)
- Authentication is skipped if UsernameForm is added before Magic Link HOT 7
- EmailOtpAuthenticator does not work with "Alternative" HOT 3
- Magic Link + NextAuth with Keycloak as a Provider - nonce mismatch HOT 14
- Building for Bitnami container HOT 3
- keycloak magic link - adding update_password after successful profile submission HOT 4
- Navigating on used magic link occurs login into account HOT 1
- Auto email verification with email OTP HOT 6
- Magic link is not showing inside Authenticator section of keycloak admin console HOT 4
- Magic-Code with Force Create User, etc HOT 10
- Simply copy the jar in the provider in the providers folder of quay.io/keycloak/keycloak:21.1.X image leads to org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] ERROR: jakarta.ws.rs.core.UriInfo HOT 2
- Send OTP codes via API HOT 7
- Installation not working HOT 11
- Prebuilt `.jar` files HOT 3
- Apache Server Authentication and Authorization HOT 6
- Issue regarder required actions update HOT 2
- Magic Link for authentication session continuation HOT 2
- Need help setting up magic link with Grafana HOT 4
- Default group assignment after user creation HOT 1
- NullPointerException in MagicLinkAuthenticator if forceCreate is false HOT 2
- Use in combination with multiple factors HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keycloak-magic-link.