Replies: 3 comments 5 replies
-
After digging up. I found I had not added |
Beta Was this translation helpful? Give feedback.
-
Hey, @AGMETEOR 👋 Glad to see it worked out 🚀 |
Beta Was this translation helpful? Give feedback.
-
Hey @rdimitrov and @lukehinds thanks for looking at this discussion thread. I just have another issue on the enroll flow. After authorizing the app with extra permissions, the redirect to keycloak to this url ![]() I am wondering if you have encountered this in your local development environment? |
Beta Was this translation helpful? Give feedback.
-
Error:
![Screenshot 2023-12-19 at 7 38 22 PM](https://private-user-images.githubusercontent.com/28563179/291653929-fb38464b-363c-496d-954d-c1084c025682.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5ODg0MTUsIm5iZiI6MTcyMTk4ODExNSwicGF0aCI6Ii8yODU2MzE3OS8yOTE2NTM5MjktZmIzODQ2NGItMzYzYy00OTZkLTk1NGQtYzEwODRjMDI1NjgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDEwMDE1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEwNjgzMmQ2MjhmZGNiZmY5MDNmNDc4M2RjNmQ0MGRiNmI3NmRhNDkyOGE2ODFiNjJmNTYxMWU3MTI5ZTkxYzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SAcsXc42rn8Z4nFRVW_PzbNWpBfnBZi3-i52Y9pYvAM)
error_description: The redirect_uri MUST match the registered callback URL for this application.
Hello. I am back again. So I have been trying to set up my local development environment and everything was going great until I hit a blocker.
I have created an OAuth App in my github account but I think the callback url referencing my local environment is wrong. The docs in the readme say it should point to
http://localhost:8081/realms/stacklok/broker/github/endpoint
. But when I try to enroll I get this page athttp://localhost:8081/realms/stacklok/broker/github/endpoint?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdocs.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch&state=AAAAAGWBxH5jhAH7anqA6mQH7KEpQtOVnqyuDqgGT7tS8WYhY64-cg
Here's my app setup
![Screenshot 2023-12-19 at 7 34 43 PM](https://private-user-images.githubusercontent.com/28563179/291654540-355bd648-af97-49c6-b070-db63e7fddcff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5ODg0MTUsIm5iZiI6MTcyMTk4ODExNSwicGF0aCI6Ii8yODU2MzE3OS8yOTE2NTQ1NDAtMzU1YmQ2NDgtYWY5Ny00OWM2LWIwNzAtZGI2M2U3ZmRkY2ZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDEwMDE1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2NzkyYTVmZWU1OWMzNWE5ZTk2NDE3ZWNmYzBhZDA1ZDZiMTM1YjkyZWQwZjVjYjRlMzhlOTA1MmNlM2Q2YzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Dr694HN2aLnQiSLEOzC1Iu5s9PTb7YqpvuETkatM9U8)
Beta Was this translation helpful? Give feedback.
All reactions