# I get 404 and i try everything

**URL:** <https://forum.keycloak.org/t/i-get-404-and-i-try-everything/22388>\
**Category:** Miscellanaeous\
**Created:** [May 30, 2023, 7:50am UTC](https://forum.keycloak.org/t/i-get-404-and-i-try-everything/22388 "2023-05-30T07:50:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asaf](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/asaf/32/7387_2.png) [@asaf](https://forum.keycloak.org/u/asaf)\
**Post date:** [May 30, 2023, 7:50am UTC](https://forum.keycloak.org/t/i-get-404-and-i-try-everything/22388/1 "2023-05-30T07:50:02Z")

</div>

hi, i run keycloak on my local machine, and i use it as idp for my app that’s writing in [asp.net](http://asp.net). the first step I make the login success and the second step is to fetch the access token and this is the point I get 404  
this is the URL to fetch the token [http://localhost:8080/auth/realms/my-realm/protocol/openid-connect/token](http://localhost:8080/auth/realms/my-realm/protocol/openid-connect/token), I check all the parameters that I need to pass and everything looks good  
grant\_type=authorization\_code&redirect\_uri=" + baseUrl + “&code=” + code + “&client\_id=” \_authSettingInfo.LoginSetting.clientId + “&client\_secret=” + \_authSettingInfo.LoginSetting.clientSecret;

any idea what I miss ?

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/6/68f3cbf84dbc3b8ad474a77ec2e13d88af6e6c72.png)
