OneAuth integrations with MyTalk Authentications

OneAuth it's integrations tools that allow you to authentications your customers from your website in MyTalk community.   

 

Now we run the first method authentications OneAuth using JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties. Download Libraries for Token Signing/Verification you can on https://jwt.io


How to use OneAuth?

First of all, you must enable OneAuth in MyTalk admin panel after this you get Secret Key for signature JWT read more about it https://jwt.io/introduction 


1. Generate JWT Token for authentications.

Generate unique JWT token for every user uses HMAC algorithm SHA256 and our Secret Key.


HEADER:ALGORITHM & TOKEN TYPE

{
"alg": "HS256",
"typ": "JWT"
}


PAYLOAD:DATA

{
"id": "1234567890",
"username": "John Doe",
}


VERIFY SIGNATURE

HMACSHA256(

base64UrlEncode(header) + "." + 

base64UrlEncode(payload), 

{Secret Key})


You get JWT token like this: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9. eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.

SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c


2. For authentification you need to redirect users to this URL:

https://{domain}/oneauth?method=JWT&token={JWT Token}


That's all! Your user will be authentication in the community. If have any question write to us!

I couldn't find an option to turn on OneAuth in my myTalk admin panel. Should I do something else to get that option?

Hi, sriraman! Thanks for the question! It's options for deep integration our solution with another and work for Enterprise customer and will be available in Enterprise Plan. For simple use, it's don't needs. If you want to connect our solution and make some integration please connect with us. You can do it's in chat or by email [email protected]