# OAUTH2 authentication

**URL:** <https://hub.mender.io/t/oauth2-authentication/246>\
**Category:** General Discussions\
**Created:** [February 21, 2019, 4:12am UTC](https://hub.mender.io/t/oauth2-authentication/246 "2019-02-21T04:12:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gil0109](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/gil0109/32/124_2.png) [@gil0109](https://hub.mender.io/u/gil0109)\
**Post date:** [February 21, 2019, 4:12am UTC](https://hub.mender.io/t/oauth2-authentication/246/1 "2019-02-21T04:12:00Z")

</div>

Is there a way to use OAuth2 to authenticate to the mender instead of using the mender authentication?

---

<div class="post-metadata">

**Author:** ![michaelatmender](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/michaelatmender/32/128_2.png) [@michaelatmender](https://hub.mender.io/u/michaelatmender)\
**Post date:** [February 21, 2019, 9:11am UTC](https://hub.mender.io/t/oauth2-authentication/246/2 "2019-02-21T09:11:24Z")

</div>

Not currently - it might possibly be something supported in the longer term future, but for sure at the moment it’s only possible with the Mender JWT authentication.

---

<div class="post-metadata">

**Author:** ![mteodor](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mteodor/32/267_2.png) [@mteodor](https://hub.mender.io/u/mteodor)\
**Post date:** [March 31, 2019, 9:43pm UTC](https://hub.mender.io/t/oauth2-authentication/246/3 "2019-03-31T21:43:04Z")

</div>

I’m also interested in this feature. I need it for some integration.  
And I’m looking if I could make these changes what would be required to do so.  
Does it require only to change gui and useradm service change?  
If, for example, I implement implict flow in your React gui would the backend accept the access token passed in the Authorization header or that would also be something that needs to modified.  
Also do you think that maybe some api gateway (like Kong) that has oidc plugin can do the job here ?

---

<div class="post-metadata">

**Author:** ![rsirac](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/rsirac/32/310_2.png) [@rsirac](https://hub.mender.io/u/rsirac)\
**Post date:** [April 11, 2019, 8:35am UTC](https://hub.mender.io/t/oauth2-authentication/246/4 "2019-04-11T08:35:05Z")

</div>

Hi there  
Also interested! Do you have any news on this subject?
