# Authenticate using keycloak

**URL:** https://discourse.nodered.org/t/authenticate-using-keycloak/63270
**Category:** General
**Tags:** security
**Created:** [30 May 2022 20:06 UTC](https://discourse.nodered.org/t/authenticate-using-keycloak/63270 "2022-05-30T20:06:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![CBianca](https://avatars.discourse-cdn.com/v4/letter/c/d2c977/32.png) [@CBianca](https://discourse.nodered.org/u/CBianca)
#### Post date: [30 May 2022 20:06 UTC](https://discourse.nodered.org/t/authenticate-using-keycloak/63270/1 "2022-05-30T20:06:25Z")

</div>

Hello comunity!

I have set up an app for students. These students need to login using their university credentials. My University is using a SSO that they won't give me access to and told me to use keycloack for demonstration purpouse.

First of all, I set up keycloak and everything is working.  
I am trying to use OAUTH2 node to "sign in" but someting is not working and I don't know what I am doing wrong. I tried to modify the Access token url but none of them is working.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/8/e8b6f052731ff2ffae4ec2b1a8fcbfae1ef900ad.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/0/a0035bacc3557c2e64419b2a3ba9df7560de6a7e.png)

What I am trying to achieve in the final stage is to have a button like "Login" in my UI that would redirect me to the keycloak authentication page, where I can put by username and password(configured in keycloak) and then be redirected to my ui. Is this possible?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/e/5e9027b1feeee3f8ba21c0f953af01c38d204452.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [29 July 2022 20:06 UTC](https://discourse.nodered.org/t/authenticate-using-keycloak/63270/2 "2022-07-29T20:06:45Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
